-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call
ink!
contracts from Solidity: support RLP encoding (#2345)
* Add integration test * Generate RLP selector callables for each message * Cargo.lock * WIP implementing RLP encoding entry points * Return value encoding * Fmt * Cargo.lock * Elevate DecodeDispatch trait to env to allow use in `api::decode_input` * WIP adding in actual decoding * Comment out println! * Define empty EncodedScope impl * WIP buffer * onchain rlp return value impl * offchain fn impl * WIP e2e integration test * WIP e2e integration test * WIP raw instantiate with sandbox * Don't use macro, use sandbox directly * Fund accounts * WIP e2e test * make e2e test fail * hook up message dispatch * E2E test success! * Parse encoding config * wip: only generate RLP dispatchables when enabled * only generate RLP message infos if enabled * Unused import * Cargo.lock * Unused imports * Errors and warnings * Update pallet-contracts version * Unused imports * fmt * Refactor integration test * Remove stuff * Misc * Fix unused output warning * merge master * refactor: move dispatch to primitives/reflect * fix: issues after merge -- compiles! * fmt --------- Co-authored-by: Peter White <[email protected]>
- Loading branch information
Showing
29 changed files
with
693 additions
and
185 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.