Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
e9cff60
Initial implementation
s0me0ne-unkn0wn May 25, 2025
152226c
`clear_prefix` interface
s0me0ne-unkn0wn Jun 3, 2025
545d882
Add `*_root()` implementations
s0me0ne-unkn0wn Jun 9, 2025
9175fd4
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Jun 9, 2025
d659d45
Implement the rest of `*_clear_prefix`
s0me0ne-unkn0wn Jun 10, 2025
86786ae
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Jun 10, 2025
58662fe
Fix marshalling
s0me0ne-unkn0wn Jun 14, 2025
a828976
Okay, let's start
s0me0ne-unkn0wn Jun 16, 2025
f10c77b
Fix marshalling once again
s0me0ne-unkn0wn Jun 18, 2025
e230cb8
Revert accidental impl deletion
s0me0ne-unkn0wn Jun 19, 2025
7fb49fd
That will be a long night...
s0me0ne-unkn0wn Jun 19, 2025
be58f0e
Add a benchmark for abusing the allocator
koute Jun 26, 2025
25266d7
Add a local allocator for use within the runtime
koute Jun 26, 2025
be89f24
Enforce local heap alignment
koute Jun 26, 2025
169ac90
Merge remote-tracking branch 'origin/master' into master_local_allocator
koute Jun 26, 2025
16f81de
More wrappers, more fixes
s0me0ne-unkn0wn Jun 26, 2025
fdfd995
Correct typo: `kb` -> `mb`
koute Jul 1, 2025
bb0b3f1
Merge branch 'master' into master_local_allocator
koute Jul 1, 2025
5b8c0b2
Add proc-macro-based wrappers
s0me0ne-unkn0wn Jul 6, 2025
ca91571
Revert most of hashing calls
s0me0ne-unkn0wn Jul 6, 2025
68f945a
Migrate wrappers
s0me0ne-unkn0wn Jul 29, 2025
88286d6
Migrate the rest of wrappers
s0me0ne-unkn0wn Jul 30, 2025
c059570
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Jul 30, 2025
d792897
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Jul 30, 2025
628bd5b
Implement input data passing through runtime buffer
s0me0ne-unkn0wn Aug 3, 2025
3223bcc
`validate_block` implementation
s0me0ne-unkn0wn Aug 4, 2025
7dd095c
Merge commit '25266d7dc43d783ef7bbdfb38ddabf6a5872a95f' into s0me0ne/…
s0me0ne-unkn0wn Aug 4, 2025
6a9d14f
Merge commit 'be89f24c7c5749538cf9037dca3909cc172784e6' into s0me0ne/…
s0me0ne-unkn0wn Aug 4, 2025
8ec4590
Merge commit 'bb0b3f15a0873f3bdf5ea7c324e7f07b409ed9b5' into s0me0ne/…
s0me0ne-unkn0wn Aug 4, 2025
f1649b9
Remove host-side allocator
s0me0ne-unkn0wn Aug 4, 2025
0b751a6
Add optimizations to avoid Wasm bloating
s0me0ne-unkn0wn Aug 5, 2025
3affa60
Switch runtime API interface to local heap
s0me0ne-unkn0wn Aug 5, 2025
920acf0
Add dynamic heap allocation; Temporarily disable deprecated host func…
s0me0ne-unkn0wn Aug 14, 2025
3b67b7b
Refactor niput parameters passing
s0me0ne-unkn0wn Aug 15, 2025
1029d71
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Aug 21, 2025
c4489b8
Cleanup
s0me0ne-unkn0wn Aug 22, 2025
e6c02fb
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Aug 22, 2025
77d42d3
Merge remote-tracking branch 'origin/s0me0ne/rfc4' into s0me0ne/rfc4-…
s0me0ne-unkn0wn Aug 22, 2025
8419017
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Aug 22, 2025
33a751d
Merge remote-tracking branch 'origin/s0me0ne/rfc4' into s0me0ne/rfc4-…
s0me0ne-unkn0wn Aug 22, 2025
e129c52
Revert unrelated changes
s0me0ne-unkn0wn Aug 22, 2025
eea1a2b
Remove stale/debug code and comments
s0me0ne-unkn0wn Aug 22, 2025
5bd241f
Unify wrapper comments
s0me0ne-unkn0wn Aug 22, 2025
1b24a2f
Cherry-pick changes from #8866
s0me0ne-unkn0wn Aug 22, 2025
1e3bfb0
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Aug 22, 2025
a4a8607
Move input data out instead of cloning
s0me0ne-unkn0wn Aug 22, 2025
dfc9a19
Address discussions
s0me0ne-unkn0wn Aug 22, 2025
5384419
Align docstrings with RFC
s0me0ne-unkn0wn Aug 25, 2025
6fa6e26
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Aug 25, 2025
69fa771
Update from github-actions[bot] running command 'prdoc --bump major -…
github-actions[bot] Aug 25, 2025
9bc4f3f
Fix prfoc
s0me0ne-unkn0wn Aug 25, 2025
7d14869
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Aug 25, 2025
539d7ae
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Sep 18, 2025
7fc60fc
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Sep 18, 2025
f9957c7
Do not fill buffers if undersized
s0me0ne-unkn0wn Oct 9, 2025
d556294
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Oct 9, 2025
80c2ad0
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Oct 9, 2025
b4c5f7c
Merge branch 's0me0ne/rfc4-impl' of github.com:paritytech/polkadot-sd…
s0me0ne-unkn0wn Oct 9, 2025
d78cd47
Add cached storage cursor operations
s0me0ne-unkn0wn Oct 13, 2025
278b0ff
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Oct 13, 2025
ae5c554
Use cached cursor in storage ops
s0me0ne-unkn0wn Oct 14, 2025
d31a693
Add runtime allocation sanity checker
s0me0ne-unkn0wn Oct 21, 2025
3856d81
Fix deprecations
s0me0ne-unkn0wn Oct 21, 2025
93bcd52
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Nov 9, 2025
64e0055
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Nov 9, 2025
2580c07
Add some more wrappers
s0me0ne-unkn0wn Nov 9, 2025
ce02e18
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Nov 20, 2025
e1392c5
Comply with the memory safery requirements
s0me0ne-unkn0wn Nov 21, 2025
306e2fd
Address `clear_prefix` RFC changes
s0me0ne-unkn0wn Nov 21, 2025
8f0e320
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Nov 21, 2025
cc4ce1b
Merge remote-tracking branch 'origin/s0me0ne/rfc4' into s0me0ne/rfc4-…
s0me0ne-unkn0wn Nov 21, 2025
f796efd
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Dec 29, 2025
e551d3b
Merge branch 's0me0ne/rfc4' into s0me0ne/rfc4-impl
s0me0ne-unkn0wn Dec 29, 2025
57323e8
Implement `allow_partial` for storage reads
s0me0ne-unkn0wn Jan 6, 2026
3ab249f
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Feb 5, 2026
66de93e
Make public keys retrieval RFC-complaint
s0me0ne-unkn0wn Feb 15, 2026
8a60cec
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Feb 15, 2026
e3bd825
Remove stale code
s0me0ne-unkn0wn Feb 15, 2026
75d42a0
`zepter`
s0me0ne-unkn0wn Feb 15, 2026
026e3e3
`taplo`
s0me0ne-unkn0wn Feb 15, 2026
0fd031d
Fix Zombienet SDK test harness
s0me0ne-unkn0wn Feb 15, 2026
d58af82
Align with the final RFC version
s0me0ne-unkn0wn Feb 19, 2026
0f893b8
Merge branch 'master' into s0me0ne/rfc4
s0me0ne-unkn0wn Feb 19, 2026
58d3926
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Mar 5, 2026
d8cf6c4
Fix passing error values
s0me0ne-unkn0wn Mar 10, 2026
7e52234
Update pr_8641.prdoc
s0me0ne-unkn0wn Mar 15, 2026
a9e94c1
Address discussions
s0me0ne-unkn0wn Mar 15, 2026
07113a9
Address discussions
s0me0ne-unkn0wn Mar 17, 2026
946b7ef
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Mar 18, 2026
b823e1b
Get rid of hacky marshalling strategy
s0me0ne-unkn0wn Apr 2, 2026
cbc9fd1
Address minor discussions
s0me0ne-unkn0wn Apr 3, 2026
37201cd
Safer slice marshalling
s0me0ne-unkn0wn Apr 10, 2026
5944312
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 10, 2026
c1e9c2d
Remove redundant bound
s0me0ne-unkn0wn Apr 10, 2026
ea0abd8
Propagate error from `take_input_data`
s0me0ne-unkn0wn Apr 10, 2026
2354f31
Add explicit marshalling errors
s0me0ne-unkn0wn Apr 11, 2026
b9c1d26
RFC-145 (former RFC-4) implementation (#8866)
s0me0ne-unkn0wn Apr 14, 2026
3c9b27f
Do not instantiate host allocator for new runtimes
s0me0ne-unkn0wn Apr 13, 2026
99d0f44
Simplify allocator detection
s0me0ne-unkn0wn Apr 13, 2026
0745bfb
Switch test paras to V2 entry points
s0me0ne-unkn0wn Apr 13, 2026
d5b6879
Stub allocator for PolkaVM
s0me0ne-unkn0wn Apr 13, 2026
5938f7d
Fix bugs in HTTP host functions
s0me0ne-unkn0wn Apr 14, 2026
6dded94
Fix various tests
s0me0ne-unkn0wn Apr 14, 2026
c235799
Add one more wrapper
s0me0ne-unkn0wn Apr 14, 2026
907e07b
Add explicit new versions instead of changing the old ones
s0me0ne-unkn0wn Apr 14, 2026
c84384c
Build try-runtime from source in CI
s0me0ne-unkn0wn Apr 14, 2026
6e729be
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 14, 2026
e70ff56
Fix slice length mismatch bug
s0me0ne-unkn0wn Apr 14, 2026
c109beb
Aff RFC-complaint benchmarking host functions
s0me0ne-unkn0wn Apr 15, 2026
126aa14
Overhaul runtime interface tests
s0me0ne-unkn0wn Apr 15, 2026
1c69295
Update Cargo.lock
s0me0ne-unkn0wn Apr 15, 2026
dffb4ec
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 15, 2026
be9d819
Fix storage root once again
s0me0ne-unkn0wn Apr 16, 2026
bb883f5
Fix more tests
s0me0ne-unkn0wn Apr 16, 2026
080efd3
Fix more tests
s0me0ne-unkn0wn Apr 16, 2026
d2b3825
Fix even more tests
s0me0ne-unkn0wn Apr 17, 2026
335b6d3
Fix bench entry point signature
s0me0ne-unkn0wn Apr 17, 2026
fe9e9ff
Update from github-actions[bot] running command 'update-ui'
github-actions[bot] Apr 18, 2026
d46c09e
Fix pallet tests
s0me0ne-unkn0wn Apr 20, 2026
30691ba
FIX MOAR TESTS
s0me0ne-unkn0wn Apr 20, 2026
23163e9
Fix rustdoc
s0me0ne-unkn0wn Apr 20, 2026
b22acf8
Update pr_8641.prdoc
s0me0ne-unkn0wn Apr 20, 2026
f512f6b
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 21, 2026
bfe58b7
Fix `try-runtime` CI build
s0me0ne-unkn0wn Apr 21, 2026
af914a5
Update pr_8641.prdoc
s0me0ne-unkn0wn Apr 21, 2026
84f5125
Disable Chopsticks tests in CI
s0me0ne-unkn0wn Apr 21, 2026
a8ee026
Update build-try-runtime.sh
s0me0ne-unkn0wn Apr 21, 2026
1153b02
Update build-try-runtime.sh
s0me0ne-unkn0wn Apr 21, 2026
0c066bc
Pass correct state version through externalities
s0me0ne-unkn0wn Apr 22, 2026
7c05a85
More root-calculation related fixes
s0me0ne-unkn0wn Apr 23, 2026
8f93425
Fix BEEFY test (V0->V1 root)
s0me0ne-unkn0wn Apr 24, 2026
80cd65f
Update implementation.rs
s0me0ne-unkn0wn Apr 24, 2026
03ca358
Update pr_8641.prdoc
s0me0ne-unkn0wn Apr 24, 2026
c95f5ff
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 24, 2026
6ca5a7b
Integrate trie layour versioning deeper
s0me0ne-unkn0wn Apr 27, 2026
6f1d8be
Remove `RuntimeStateVersionExt`, move version into `Externalities`
s0me0ne-unkn0wn Apr 28, 2026
06a19f0
Update pr_8641.prdoc
s0me0ne-unkn0wn Apr 28, 2026
ac2ec99
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn Apr 28, 2026
ed21166
Update testing.rs
s0me0ne-unkn0wn Apr 28, 2026
e0efbaa
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn May 1, 2026
ece29b4
`fmt`
s0me0ne-unkn0wn May 1, 2026
859f5a7
Update pr_8641.prdoc
s0me0ne-unkn0wn May 5, 2026
4103c2b
Fix public keys acquisition race
s0me0ne-unkn0wn May 15, 2026
46465cb
Make `picoalloc` a workspace dependency
s0me0ne-unkn0wn May 18, 2026
cb89965
Change `next_key` wrapper API
s0me0ne-unkn0wn May 21, 2026
1e34371
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn May 21, 2026
e615372
`fmt`
s0me0ne-unkn0wn May 21, 2026
07c94cd
Fix `no_std` imports
s0me0ne-unkn0wn May 21, 2026
e8090c4
Rename `read` -> `read_exact`
s0me0ne-unkn0wn May 21, 2026
dab80e7
Rename `wrapped` -> `raw_api`
s0me0ne-unkn0wn May 21, 2026
660b85b
Detailed panic message
s0me0ne-unkn0wn May 21, 2026
f110f98
Make `next_key` buffers reusable
s0me0ne-unkn0wn May 21, 2026
eb91d6e
Fix description
s0me0ne-unkn0wn May 21, 2026
b9b8ce4
Fix not-RFC-complaint `runtime_version`
s0me0ne-unkn0wn May 21, 2026
13225fc
Fix more non-RFC-compliant functions
s0me0ne-unkn0wn May 21, 2026
2d250a7
Fix macro syntax
s0me0ne-unkn0wn May 22, 2026
162c97a
Switch `*_public_keys` to `ReadWrite` strategy.
s0me0ne-unkn0wn May 25, 2026
a6144dc
Add ERRATA comment
s0me0ne-unkn0wn May 25, 2026
7aa146c
Fix assertion
s0me0ne-unkn0wn May 25, 2026
1996cf2
Fix syntax
s0me0ne-unkn0wn May 26, 2026
0912ba2
Merge branch 'master' into s0me0ne/rfc4
s0me0ne-unkn0wn May 26, 2026
997bf44
`fmt`
s0me0ne-unkn0wn May 26, 2026
9c2b107
Fix semver
s0me0ne-unkn0wn May 27, 2026
24d41b2
Merge remote-tracking branch 'origin/master' into s0me0ne/rfc4
s0me0ne-unkn0wn May 27, 2026
7c3e6cc
Repair `try-runtime` build
s0me0ne-unkn0wn May 28, 2026
dc6e400
Update from github-actions[bot] running command 'update-ui'
github-actions[bot] May 28, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion substrate/primitives/externalities/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub enum Error {
}

/// Results concerning an operation to remove many keys.
#[derive(codec::Encode, codec::Decode)]
#[derive(codec::Encode, codec::Decode, Default)]
#[must_use]
pub struct MultiRemovalResults {
/// A continuation cursor which, if `Some` must be provided to the subsequent removal call.
Expand Down
4 changes: 4 additions & 0 deletions substrate/primitives/io/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
bytes = { workspace = true }
byte-slice-cast = { workspace = true }
codec = { features = ["bytes"], workspace = true }
secp256k1 = { features = ["global-context", "recovery"], optional = true, workspace = true, default-features = true }
sp-core = { workspace = true }
Expand All @@ -29,6 +30,7 @@ sp-runtime-interface = { workspace = true }
sp-state-machine = { optional = true, workspace = true }
sp-tracing = { workspace = true }
sp-trie = { optional = true, workspace = true }
strum = { features = [ "derive" ], workspace = true }
tracing = { workspace = true }
tracing-core = { workspace = true }

Expand All @@ -55,6 +57,7 @@ rustversion = { workspace = true }
default = ["std"]
std = [
"bytes/std",
"byte-slice-cast/std",
"codec/std",
"ed25519-dalek/std",
"libsecp256k1/std",
Expand All @@ -69,6 +72,7 @@ std = [
"sp-state-machine/std",
"sp-tracing/std",
"sp-trie/std",
"strum/std",
"tracing-core/std",
"tracing/std",
]
Expand Down
Loading
Loading