This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
[contracts] Implement transparent hashing for contract storage #11501
Merged
Merged
Changes from 73 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
9a0da02
save
agryaznov da608cb
builds and old tests pass
agryaznov e15f881
type names enhanced
agryaznov 78fa5d5
Merge branch 'master' into ag-transparent-hashing
agryaznov ceb1588
VarSizedKey bounded to new Config param
agryaznov ea8c5be
improved wasm runtime updated funcs
agryaznov 7d5a613
unstable-interface tests fixed
agryaznov 0d8206c
benchmarks fixed
agryaznov e1a735f
Apply suggestions from code review
agryaznov e195d5c
fixes on feedback
agryaznov 1534c24
Merge branch 'ag-transparent-hashing' of github.com:paritytech/substr…
agryaznov b6c2915
Merge branch 'master' into ag-transparent-hashing
agryaznov cb01583
fixes on feedback applied + make it build
agryaznov 75fadc8
benchmarks build but fail (old)
agryaznov 7a8ea0f
"Original code too large"
agryaznov 4d548c8
seal_clear_storage bench fixed (code size workaround hack removal tbd)
agryaznov ed3539c
bench_seal_clear_storage pass
agryaznov 86b9275
bench_seal_take_storage ... ok
agryaznov a0ffe4b
added new seal_set_storage + updated benchmarks
agryaznov 01db020
added new seal_get_storage + updated benchmarks
agryaznov 67ee754
added new seal_contains_storage + updated benchmarks
agryaznov 25f4e85
added tests for _transparent exec functions
agryaznov 036c4a0
Merge branch 'master' into ag-transparent-hashing
agryaznov 970f8b7
wasm test for clear_storage
agryaznov d9206b4
Merge branch 'master' into ag-transparent-hashing
agryaznov 840488a
wasm test for take_storage
agryaznov d1068d8
wasm test for new set_storage
agryaznov c7663fc
wasm test for new get_storage
agryaznov a38bda6
wasm test for new contains_storage
agryaznov 1e47811
Merge branch 'master' into ag-transparent-hashing
agryaznov a2f5143
CI fix
agryaznov 76fbbb0
ci fix
agryaznov 7b76ea9
ci fix
agryaznov d5d4bae
ci fix
agryaznov f79d9d7
Merge branch 'master' of https://github.com/paritytech/substrate into…
f35dccd
cargo run --quiet --profile=production --features=runtime-benchmarks…
954c185
fixes according to the review feedback
agryaznov 513c256
Merge branch 'master' into ag-transparent-hashing
agryaznov c429e99
tests & benchmarks fixed
agryaznov abc1a22
Merge branch 'ag-transparent-hashing' of github.com:paritytech/substr…
agryaznov bfb1550
Merge branch 'master' of https://github.com/paritytech/substrate into…
f6336eb
cargo run --quiet --profile=production --features=runtime-benchmarks…
7b3ddf8
refactoring
agryaznov 7b99cb4
Merge branch 'master' into ag-transparent-hashing
agryaznov 62735c2
fix to runtime api
agryaznov d5f240c
ci fix
agryaznov 929ec62
ctx.get_storage() factored out
agryaznov e81d2c2
ctx.contains_storage() factored out
agryaznov 52a6982
number of batches reduced for transparent hashing storage benchmarks
agryaznov 8a5ce46
Merge branch 'master' into ag-transparent-hashing
agryaznov 456f4c9
contracts RPC & pallet::get_storage to use transparent hashing
agryaznov e99e7a9
Merge branch 'master' into ag-transparent-hashing
agryaznov 2b764ff
node and rpc updated to use get_storage with VarSizedKey
agryaznov 4652e6f
refactored (more concize)
agryaznov 4ff9bf3
refactored contains_storage (DRYed)
agryaznov 5f28ab8
refactored contains_storage (DRYed)
agryaznov 744bf2e
Merge branch 'master' into ag-transparent-hashing
agryaznov 2e59a8e
fix rpc
agryaznov c582cff
fmt fix
agryaznov a5c2659
more fixes in rpc
agryaznov 205d428
rollback `Pallet:get_storage` to Vec<u8> and rpc and node parts relat…
agryaznov cb6945b
added `KeyDecodingFailed` error
agryaznov 72682de
Revert weird "fmt fix"
agryaznov 23d2209
node-executor basic test update
agryaznov a7c58b4
fix node-executor basic test
agryaznov 0497517
benchmarks fix
agryaznov 13777b3
more benchmarks fix
agryaznov 12c246e
FixedSizedKey is hidden from pub, VarSizedKey is exported as StorageKey
agryaznov b91af13
ci fix
agryaznov 591b4b7
set_storage benchmark fix
agryaznov 5802637
ci fix
agryaznov d95fe82
ci fix
agryaznov d659578
comments improved
agryaznov ada2139
new error code to rpc: KEY_DECODING_FAILED
agryaznov 3f578bd
Put `rusty-cachier` before PR merge into `master` for `cargo-check-be…
rcny 363ac54
Merge branch 'vi-fix-cargo-check-benches-ordering' into ag-transparen…
agryaznov b19f503
cargo run --quiet --profile=production --features=runtime-benchmarks…
f34676c
minor optimization
agryaznov 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.