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

DUMMY PR: Show pinning storage slot fixes issue in #6254 #6416

Closed
wants to merge 47 commits into from

Commits on Aug 13, 2024

  1. LDC multi-chunk contract

    With the target contract broken down into chunks (with
    sizes that are word aligned), we can load it in pieces
    and then execute.
    vaivaswatha authored and esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    54ca7dd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    40f371f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    686d275 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eedd49a View commit details
    Browse the repository at this point in the history
  5. chore: bump to use fuel-core v0.31.0 and sdk v0.65.1 (#6252)

    Bumps dependencies so that we start to use fuel-core v0.31.0.
    
    Waiting on:
    
    1. FuelLabs/forc-wallet#197
    2. FuelLabs/forc-wallet#196
    
    ---------
    
    Co-authored-by: Igor Rončević <ironcev@hotmail.com>
    2 people authored and esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    4bd4ac7 View commit details
    Browse the repository at this point in the history
  6. feat: create and deploy a reference proxy contract for contracts with…

    … `[proxy]` enabled (#6069)
    
    Part of #6068.
    
    This PR adds couple of things:
    
    1. A default proxy contract implementation taken from [sway
    standards](https://github.com/FuelLabs/sway-standards/blob/master/standards/src/src14.sw).
    2. Infra for creating, building and deploying the reference
    implementation for proxy contracts.
    3. Deployment procedure such that proxy contract is deployed while
    working on a contract which enables the `[proxy]` in its forc.toml. In a
    way that it is owned by the deployer and the target initially points to
    implementation contract.
    4. Infra for making a contract call into the already deployed proxy
    contracts to update their targets.
    5. Adds a `Building` text to the all forc build invocations to better
    inform the user about what forc is doing behind the scenes.
    6. Removes duplicate forc-wallet password prompts which was very
    frustrating for the users. Now forc-wallet deployment path only asks for
    password once.
    7. Refactors around how secret_key is selected based on user input
    8. Updated docs around forc-client
    9. Docs around how to use the proxy feature
    
    If the user does not have a proxy table in their forc.toml, nothing
    changes, same old deployment procedure is followed. Only difference is
    that this PR improves the ux by removing the need of providing the
    password multiple times.
    
    If the user has a contract with a proxy table but without an address
    like:
    
    ```TOML
    [project]
    authors = ["kaya"]
    entry = "main.sw"
    license = "Apache-2.0"
    name = "impl-contract"
    
    [dependencies]
    
    [proxy]
    enabled = true
    ```
    Forc automatically creates a proxy contract based on the reference
    implementation at
    [SRC14](https://github.com/FuelLabs/sway-standard-implementations/tree/61fd4ad8f69d21cec0d5cd8135bdc4495e0c125c). Sets its
    target to the implementation contract, whichever contract enabled the
    proxy and the owner to the deployer (signing account of the
    transaction).
    
    If the user has a contract with a proxy table and an address specified
    like:
    
    ```TOML
    [project]
    authors = ["kaya"]
    entry = "main.sw"
    license = "Apache-2.0"
    name = "impl-contract"
    
    [dependencies]
    
    [proxy]
    enabled = true
    address = "........."
    ```
    Forc automatically makes a set target conract call to update the proxy
    contract's target. Pointing it to the newly deployed impl contract which
    defines the proxy table.
    
    Generated proxy contract abi and bins are stored at
    `~/.forc/.generated_proxy_contracts/project_name` for housekeeping.
    kayagokalp authored and esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ebb030b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0aa3ee5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6ee44ec View commit details
    Browse the repository at this point in the history
  9. Changed fuel_abi to return Result.

    Added error ABIHashCollision error.
    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    7c9133f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6e22225 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    97fb129 View commit details
    Browse the repository at this point in the history
  12. Fixes cargo clippy.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    93368c0 View commit details
    Browse the repository at this point in the history
  13. Use resolved types.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d6f4f5b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cac38d7 View commit details
    Browse the repository at this point in the history
  15. Updates cargo crates.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    79299fb View commit details
    Browse the repository at this point in the history
  16. Fixes.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    b4b6de9 View commit details
    Browse the repository at this point in the history
  17. Fixes.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    fd1d9ea View commit details
    Browse the repository at this point in the history
  18. Updates Cargo.lock

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    8b574bf View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    c5cf48b View commit details
    Browse the repository at this point in the history
  20. Updates hardcoded JSON ABI.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    49b8196 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    2c90f01 View commit details
    Browse the repository at this point in the history
  22. Fixes cargo clippy.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    9c41ee5 View commit details
    Browse the repository at this point in the history
  23. Fixes hardcoded JSON ABI.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    9d7d1de View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    82d79b3 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    40d3b11 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3de40c9 View commit details
    Browse the repository at this point in the history
  27. Updates json_abi files.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ab5bc18 View commit details
    Browse the repository at this point in the history
  28. Makes json-abi-with-callpaths true by default and removed flag.

    The flag json_abi_with_callpaths was removed because its is now supported
    by the SDKs and because not using it is unsafe, as names can collide.
    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d22361c View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    9f64110 View commit details
    Browse the repository at this point in the history
  30. Reverts wrong renaming.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    f7553bf View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    b711f40 View commit details
    Browse the repository at this point in the history
  32. Fixes abi generation.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    5bad022 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    0a7757f View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    4891138 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    db0ace8 View commit details
    Browse the repository at this point in the history
  36. Updates Cargo.lock.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    92e17ad View commit details
    Browse the repository at this point in the history
  37. Revert "feat: create and deploy a reference proxy contract for contra…

    …cts with `[proxy]` enabled (#6069)"
    
    This reverts commit ebb030b.
    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    67b8ac0 View commit details
    Browse the repository at this point in the history
  38. Fixes build.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    10cd8ec View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    93866ff View commit details
    Browse the repository at this point in the history
  40. Fixes build.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    6217d38 View commit details
    Browse the repository at this point in the history
  41. Updates changed json abis.

    esdrubal committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    dbe53c3 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    6275234 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    7c3dae2 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    1d55638 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d3f777 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7032f7a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    83608fd View commit details
    Browse the repository at this point in the history