Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wasmv1 improvements #293

Merged
merged 81 commits into from
Jul 26, 2023
Merged

wasmv1 improvements #293

merged 81 commits into from
Jul 26, 2023

Commits on Jun 21, 2023

  1. WIP Improve ABI types

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    1bb8c20 View commit details
    Browse the repository at this point in the history
  2. Depends on massa-proto-rs from github for integration

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    34a3bb6 View commit details
    Browse the repository at this point in the history
  3. Sync with massa-proto-rs and fix build

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 21, 2023
    Configuration menu
    Copy the full SHA
    526774c View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2023

  1. Adjust macro resp_ok resp_err, clean abis function_exists and transfe…

    …r_coins
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    6fb4433 View commit details
    Browse the repository at this point in the history
  2. Current address datastore abis

    Eitu33 committed Jun 22, 2023
    Configuration menu
    Copy the full SHA
    6995b25 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2023

  1. add test_datastore_abis

    Eitu33 committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    66a14a1 View commit details
    Browse the repository at this point in the history
  2. Clean test interface

    Eitu33 committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    c49ec14 View commit details
    Browse the repository at this point in the history
  3. Update test_datastore.wasm_add

    Eitu33 committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    1542795 View commit details
    Browse the repository at this point in the history
  4. Add get_current_period and get_current_thread abis (#262)

    * Add get_current_period and get_current_thread abis
    
    * Write ABI test
    
    * wasm_add instead of wasm
    Leo-Besancon authored Jun 23, 2023
    Configuration menu
    Copy the full SHA
    3b014bc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3799c26 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #259 from massalabs/feature/Improve_ABI_types_in_w…

    …asmv1_thomas1
    
    self datastore ABIs
    Eitu33 authored Jun 23, 2023
    Configuration menu
    Copy the full SHA
    c8949dc View commit details
    Browse the repository at this point in the history
  7. Basic support for NativeAmount

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    cec31c6 View commit details
    Browse the repository at this point in the history
  8. Basic support for NativeAddress

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    7e47b00 View commit details
    Browse the repository at this point in the history
  9. Rework create_sc and generate_event

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    71eefc2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    179f9ae View commit details
    Browse the repository at this point in the history
  11. Register verify signature ABIs

    Eitu33 committed Jun 23, 2023
    Configuration menu
    Copy the full SHA
    9ea49fb View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Added hash abi (#263)

    * Added hash abi
    
    * Added keccak256
    
    * Fixed ABI return values
    Leo-Besancon authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    a81d3e7 View commit details
    Browse the repository at this point in the history
  2. Update signature functions

    Eitu33 committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    2a0a0c0 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Configuration menu
    Copy the full SHA
    34c94e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4cb3c78 View commit details
    Browse the repository at this point in the history
  3. Various ABI updates (updated protos) (#265)

    * Added get_current_slot abi
    
    * Sync
    
    * Updated datastore_test
    
    * Cargo fmt
    
    * Target common branch
    Leo-Besancon authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    572aff1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    58fec1d View commit details
    Browse the repository at this point in the history
  5. Cargo update

    Leo-Besancon committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    2afd738 View commit details
    Browse the repository at this point in the history
  6. Update gas costs

    Eitu33 committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    f67bee8 View commit details
    Browse the repository at this point in the history
  7. Rebuild wasm with cargo build --features build-wasm

    Make build work on windows (Leo-Besancon)
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    160fe78 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Remove native signature verify

    Eitu33 committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    b6647b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6b3872c View commit details
    Browse the repository at this point in the history
  3. Update comments

    Eitu33 committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    99f3c24 View commit details
    Browse the repository at this point in the history
  4. Uncomment tests

    Eitu33 committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    cd8b595 View commit details
    Browse the repository at this point in the history
  5. Merge parent and fix conflicts

    Eitu33 committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    2a8249e View commit details
    Browse the repository at this point in the history
  6. Merge pull request #264 from massalabs/feature/Improve_ABI_types_in_w…

    …asmv1_thomas2
    
    Verify signatures ABIs and interface functions
    Eitu33 authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    4cbb50e View commit details
    Browse the repository at this point in the history
  7. Sync with massa-proto-rs after proto update

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    adcf535 View commit details
    Browse the repository at this point in the history
  8. Add a bunch of ABIs

    Eitu33 committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    361c91b View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2023

  1. Implement ABIs for ledger / op keys and tests (#269)

    * Add ledger and op keys abis
    
    * Update abis
    
    * Sync
    
    * Sync
    
    * Sync
    
    * Update get_op_keys abi with prefix
    
    * Update get_op_keys abi with prefix
    
    * Target common branch
    Leo-Besancon authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    3fa121f View commit details
    Browse the repository at this point in the history
  2. abi_local_execution

    Eitu33 committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    9e34858 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9835883 View commit details
    Browse the repository at this point in the history
  4. Cargo update

    Leo-Besancon committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    7a61727 View commit details
    Browse the repository at this point in the history
  5. target rev for proto-rs

    Leo-Besancon committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    d7b9e71 View commit details
    Browse the repository at this point in the history
  6. abi_send_async_message

    Eitu33 committed Jun 29, 2023
    Configuration menu
    Copy the full SHA
    089b8fc View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Fix abi_send_async_message

    Eitu33 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    4b8b29e View commit details
    Browse the repository at this point in the history
  2. Improve abi_local_execution

    Eitu33 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    d640c5e View commit details
    Browse the repository at this point in the history
  3. Update proto package version

    Eitu33 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    13bf75e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0fa489e View commit details
    Browse the repository at this point in the history
  5. Fix remaining errors

    Eitu33 committed Jun 30, 2023
    Configuration menu
    Copy the full SHA
    7ef00d6 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #271 from massalabs/feature/Improve_ABI_types_in_w…

    …asmv1_thomas3
    
    Port previous ABIs
    Eitu33 authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    42d0faf View commit details
    Browse the repository at this point in the history
  7. Native amount arithmetic (#270)

    * Native amount arithmetic
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    
    * Native amount arithmetic
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    
    ---------
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Co-authored-by: Jean-François Morcillo <[email protected]>
    Co-authored-by: Leo-Besancon <[email protected]>
    3 people authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    2757add View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f917907 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2023

  1. Sync with massa-proto-rs after massa-proto changes

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    18aac47 View commit details
    Browse the repository at this point in the history
  2. Add abi_bytes_to_base58_check and abi_base58_check_to_bytes

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 4, 2023
    Configuration menu
    Copy the full SHA
    4bc7a62 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Depends on massa-proto-rs#feature/Improve_ABI_types_in_wasmv1

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    5594a48 View commit details
    Browse the repository at this point in the history
  2. Feature/improve abi types in wasmv1 leo (#277)

    * Sync with massa-proto-rs after massa-proto changes
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    
    * Added check / get_version / time abis
    
    Sync
    
    * Target proto-rs leo branch
    
    * Sync
    
    * Test exhaustive sc + return non empty sc address in create_sc test interface
    
    * Update target
    
    * Updated wasm
    
    ---------
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Co-authored-by: Jean-François Morcillo <[email protected]>
    Leo-Besancon and Jean-François Morcillo authored Jul 5, 2023
    Configuration menu
    Copy the full SHA
    8ad3296 View commit details
    Browse the repository at this point in the history
  3. Add Compare* abis

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    6217321 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. Remove abi_compare_sig

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    8312366 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d419a06 View commit details
    Browse the repository at this point in the history
  3. update proto-rs ref

    Eitu33 committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    737caf6 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #278 from massalabs/origin-op-id

    get origin op id
    Eitu33 authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    dacf043 View commit details
    Browse the repository at this point in the history
  5. Implement the new abis (#280)

    * Implement the new abis
    
    * Addressed review comments
    Leo-Besancon authored Jul 6, 2023
    Configuration menu
    Copy the full SHA
    513d4ae View commit details
    Browse the repository at this point in the history
  6. Sync abi_date_now with massa-proto change and minor fix

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    938f84a View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Update unsafe_random abi (#281)

    * Sync
    
    * Update unsafe_random abi
    Leo-Besancon authored Jul 7, 2023
    Configuration menu
    Copy the full SHA
    46857ec View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2023

  1. Sync and remove abi_process_exit, abi_seed, abi_date_now

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    63ddc60 View commit details
    Browse the repository at this point in the history
  2. Rename raw_xxx_data_yyy functions

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 10, 2023
    Configuration menu
    Copy the full SHA
    6279e61 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Add test to ensure that assert is still active when AS SC are built i…

    …n release mode
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    289ef2f View commit details
    Browse the repository at this point in the history
  2. Rename blake3_hash to hash_blake3 for consistency

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    4feabc2 View commit details
    Browse the repository at this point in the history
  3. Clean some fn names in Interface

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    f6e907d View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'origin/main' into feature/Improve_ABI_t…

    …ypes_in_wasmv1
    Jean-François Morcillo committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    8401203 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2023

  1. Configuration menu
    Copy the full SHA
    89a16a2 View commit details
    Browse the repository at this point in the history
  2. Sync

    Leo-Besancon committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    753d759 View commit details
    Browse the repository at this point in the history
  3. Revert "Remove first byte for AS modules"

    This reverts commit 89a16a2.
    Jean-François Morcillo authored and bilboquet committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    f09cb70 View commit details
    Browse the repository at this point in the history
  4. Better naming for abis

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 13, 2023
    Configuration menu
    Copy the full SHA
    3a63c89 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2023

  1. Sync

    Leo-Besancon committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b791965 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Enable gas calibration in wasmv1 (#282)

    * Enable gas calibration in wasmv1
    
    * Add gc + wasmv1 unit tests
    
    * Facto adding middleware to SP & CL engine
    
    * Disable gc unit test for abi param size
    
    ---------
    
    Co-authored-by: sydhds <[email protected]>
    sydhds and sydhds authored Jul 18, 2023
    Configuration menu
    Copy the full SHA
    7125e65 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Comment on abi_local_call to state we reuse CallRequest, sync wasm

    Signed-off-by: Jean-François Morcillo <[email protected]>
    Jean-François Morcillo authored and bilboquet committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    aa7d30b View commit details
    Browse the repository at this point in the history
  2. Update test interface for exhaustive sc (#289)

    * Update test interface for exhaustive sc
    
    * Moved bs58 to dev dependancy
    
    * Comment on abi_local_call to state we reuse CallRequest, sync wasm
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    
    * Update test interface for exhaustive sc
    
    * Moved bs58 to dev dependancy
    
    * update wasm for test_exhaustive sc
    
    ---------
    
    Signed-off-by: Jean-François Morcillo <[email protected]>
    Co-authored-by: Jean-François Morcillo <[email protected]>
    Leo-Besancon and Jean-François Morcillo authored Jul 20, 2023
    Configuration menu
    Copy the full SHA
    7255f66 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Configuration menu
    Copy the full SHA
    fa1172d View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2023

  1. Configuration menu
    Copy the full SHA
    fca9c45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9714a5d View commit details
    Browse the repository at this point in the history
  3. Update packages

    Eitu33 committed Jul 25, 2023
    Configuration menu
    Copy the full SHA
    5bea3f2 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #292 from massalabs/evm-update-v2

    Evm update v2
    Eitu33 authored Jul 25, 2023
    Configuration menu
    Copy the full SHA
    0d55c19 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. Use latest proto rs

    Eitu33 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    87eac94 View commit details
    Browse the repository at this point in the history
  2. update test interface

    Eitu33 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    17ad7e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b58737d View commit details
    Browse the repository at this point in the history