-
Notifications
You must be signed in to change notification settings - Fork 41
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
Store the Funding Trading Bridge smart contract as part of the umber upgrade. #2102
Conversation
Caution Review failedThe pull request is closed. WalkthroughThe recent changes enhance the application by introducing support for storing WebAssembly (WASM) smart contracts. Key functionalities include new methods for storing and executing these contracts, improved error handling, and comprehensive testing scenarios. The changelog has also been updated to document these enhancements, ensuring users are well-informed about the latest capabilities related to the umber upgrade. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant App
participant WASM_MsgSrvr
User->>App: Request to store WASM contract
App->>WASM_MsgSrvr: StoreCode(msg)
WASM_MsgSrvr-->>App: Return success/error response
App-->>User: Return confirmation/result
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
surprisingly small/tidy update to make this happen
Yeah. It ended up being a lot easier than I expected. |
# Conflicts: # CHANGELOG.md
I forced the umber upgraded on a mainnet quicksync and it has these lines in the log:
That's using the non-release version of the smart contract, though, so the actual checksum will end up being different. But it looks like it works just fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice solution all around.
…upgrade. (#2102) * Add the rc of the contract to load. * Store the wasm code as part of the umber upgrade. * Add changelog entry. * Add some missing TODO comments and lower-case smart contract in the log messages. * Get v1.0.3 of the smart contract, which should be the one to use.
Description
This PR updates the
umber
upgrade to also store a smart contract provided by Figure.Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerCodecov Report
in the comment section below once CI passesSummary by CodeRabbit
New Features
Bug Fixes
Documentation