-
Notifications
You must be signed in to change notification settings - Fork 482
Sync with Substrate RC6 #478
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
Merged
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
30e3681
[core] remove get_runtime_storage and invoke_runtime
Robbepop 6ab2037
[core] invalidate all implementations and usages of ext functions
Robbepop cfb45b7
[core] adjust ext_ functions in ext.rs
Robbepop 7d375cb
[core] add ReturnFlags to public API
Robbepop a94c397
[core] remove off-chain impls for get_runtime_storage and invoke_runtime
Robbepop f69bd94
[core] rename ext::ext_input -> ext::input
Robbepop bcce3b5
[core] change return type of get_contract_storage
Robbepop 7a66772
[core] add conversion from ext::Error to EnvError
Robbepop c38648f
[core] on-chain: add new utilities for static buffer modifications
Robbepop 4d6444b
[core] add impls for on-chain property getters
Robbepop a30387e
[core] remove no longer needed utiltiy function
Robbepop 3061018
[core] on-chain: new impl for invoke_contract and eval_contract
Robbepop 6db759c
[core] on-chain: new impl for get_contract_storage
Robbepop efff63f
[core] on-chain: new impl for decode_input
Robbepop 4de4c3f
[core] on-chain: new impl for output
Robbepop fcb3965
[core] on-chain: new impl for instantiate_contract
Robbepop 753732b
[core] on-chain: remove unused API
Robbepop 3a0fd5c
[core] on-chain: move EncodeScope and ScopedBuffer to buffer.rs
Robbepop 88eb1d7
[core] on-chain: implement rest of the on-chain API
Robbepop 7a79031
[core] add ScopedBuffer::take_bytes
Robbepop f98500e
[core] Add Env::call_chain_extension trait method
Robbepop bc476eb
[core] remove unused helper methods
Robbepop 7bd94e2
[core] on-chain: simplify static buffer
Robbepop a375469
[core] add env::call_chain_extension public API
Robbepop b535def
[core] rename Env::output -> return_value
Robbepop 03e252d
[core] off-chain: adjust a bunch of off-chain methods to new interfaces
Robbepop fc5a9a5
[core] off-chain: adjust get_contract_storage return type
Robbepop 559bb83
[core] off-chain: remove RuntimeCallHandler and RuntimeStorage facili…
Robbepop 4bd3d1f
[core] off-chain: adjust some tests
Robbepop 184bcee
[core] off-chain: remove OffCall utility type
Robbepop 89318e8
[core] off-chain: implement chain extension handler
Robbepop c6fb977
[core] adjust panic message
Robbepop 51ec933
[core] apply rustfmt
Robbepop a223d09
[core] apply clippy suggestion
Robbepop 57a9eec
[core] off-chain: re-export ChainExtension and ChainSpec types from t…
Robbepop 3839a5f
[core] on-chain: retain panic messages
Robbepop 2d4af76
[core] rename ext_ to seal_ for all on-chain functions
Robbepop a1f3ce1
[alloc] fix some warnings and add some minor comments
Robbepop 49f0e66
[core] add wasm_import_module = "seal0"
Robbepop 71acbf5
[core] introduce new Seal error codes
Robbepop 45d58b4
[core] directly return ReturnCode from C-FII
Robbepop df9ba20
[core] make transfer return Result
Robbepop 91e5025
[core] improve some doc comments
Robbepop 515fecf
rename some old errors to their new names
Robbepop 294fe0b
[core] remove unused env errors and rename some off-chain errors
Robbepop 9e90b61
[core] fix bug in ReturnFlags::set_reverted (formerly known as set_tr…
Robbepop 8ee6899
[core] avoid From impl for () for OffChainError
Robbepop 48bae3a
[lang] adjust lang layer for changes in core
Robbepop e3b8a3e
[core] turn redundant asserts into debug_assert
Robbepop 4b6c243
[core] be more strict when handling ext::get_storage error
Robbepop bde67f7
[core] implement clippy suggestion
Robbepop fcd8cca
[examples] remove no longer useful runtime-storage contract
Robbepop c71223f
[core] disable chain extensions by default
Robbepop 526075d
[lang] apply clippy suggestion to use matches! macro
Robbepop e14e378
[core] fix docs for ext_return
Robbepop 8a18087
[core] fix return type of api::return_value
Robbepop a69bac1
[core] fix doc comment of Env::return_value
Robbepop 08981a1
Merge branch 'sync-substrate-rc5' of github.com:paritytech/ink into s…
Robbepop fcedd58
[core] introduce RawReturnCode as a layer between Seal error codes an…
Robbepop 52a3fbc
[alloc] make #[alloc_error_handler] private
Robbepop b6d2145
[alloc, core] move alloc_handler from ink_alloc to ink_core
Robbepop 03e3108
[core] replace useless intermediate ReturnCode type
Robbepop ddce2f7
[core] rename RawReturnCode -> ReturnCode
Robbepop 5b7d672
[core] apply rustfmt
Robbepop fc11ce4
[core] apply rustfmt
Robbepop d22b2cd
[core] off-chain: rename invoke -> eval for chain extension calling
Robbepop 8c84b1d
[core] use Ptr32 and Ptr32Mut to encapsulate pointer -> u32 conversions
Robbepop 402728d
[core] make new Ptr32 and Ptr32Mut abstractions more type safe
Robbepop File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.