Skip to content
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

FRAME: Reintroduce TransactionExtension as a replacement for SignedExtension #3685

Merged
merged 186 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from 109 commits
Commits
Show all changes
186 commits
Select commit Hold shift + click to select a range
e7c6f57
Fixes and refactoring after tx ext introduction
georgepisaltu Mar 8, 2024
2fa52c8
Remove bench helper trait from claims
georgepisaltu Mar 8, 2024
90819a5
Rename `additional_signed` to `implicit` in IR
georgepisaltu Mar 8, 2024
9206bea
Fix imports
georgepisaltu Mar 8, 2024
611c165
Fix metadata test
georgepisaltu Mar 8, 2024
6fd6b25
Fix unchecked extrinsic signing in tests
georgepisaltu Mar 8, 2024
53c0379
Revert "Revert "FRAME: Create `TransactionExtension` as a replacement…
georgepisaltu Mar 13, 2024
ed40294
Merge branch 'tx-ext-fixes' into george-tx-ext
georgepisaltu Mar 13, 2024
b6fba4a
Add docs for `impl_tx_ext_default`
georgepisaltu Mar 14, 2024
455b762
Remove `TransactionExtensionInterior`
georgepisaltu Mar 14, 2024
5f6f63b
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Mar 14, 2024
a896a50
Minor fixes for `TransactionExtensionInterior`
georgepisaltu Mar 14, 2024
26ea26f
Fix metadata test
georgepisaltu Mar 14, 2024
cde2b1e
Bump tx version in bridges
georgepisaltu Mar 14, 2024
4c6f654
Missed file in previous commit
georgepisaltu Mar 14, 2024
c4b522b
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Mar 18, 2024
fabd306
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Mar 25, 2024
ea5c623
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Mar 25, 2024
c67cff2
Run zepter
georgepisaltu Mar 25, 2024
24c6357
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu May 9, 2024
e2933c5
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu May 9, 2024
9b3d6a0
Fix bridge refund relayer ext compilation
georgepisaltu May 9, 2024
afd18a2
Another compilation fix
georgepisaltu May 9, 2024
8604120
Fix xcm fee payment estimation and tests
georgepisaltu May 10, 2024
26e9569
fix rest of compilation errors
georgepisaltu May 10, 2024
1a69636
Fix examples experimental test
georgepisaltu May 10, 2024
cc2b6e1
Fix unchecked ext signed test
georgepisaltu May 10, 2024
493ed83
Account for refund in asset tx payment ext bench
georgepisaltu May 13, 2024
1c0297f
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu May 13, 2024
74141bb
Fix frame ui test
georgepisaltu May 13, 2024
318bc07
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu May 23, 2024
2c72935
Fix validation in tx payment extensions
georgepisaltu May 27, 2024
4715570
Minor fixes
georgepisaltu May 27, 2024
e42d210
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu May 27, 2024
3b2ae48
Merge remote-tracking branch 'origin/george/restore-gav-tx-ext' into …
georgepisaltu May 27, 2024
d4e2183
Fix deprecated `is_signed` usage
georgepisaltu May 27, 2024
3096bb3
Fix umbrella crate dep propagation
georgepisaltu May 27, 2024
9f04f66
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu May 29, 2024
d9bae43
Refactor new tx payment ext validation
georgepisaltu May 29, 2024
273e3ec
Add PrDoc
georgepisaltu May 29, 2024
d5fdda0
Fix warning
georgepisaltu May 29, 2024
cdd0b67
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Jun 11, 2024
31dcabf
Fix docs merge import
georgepisaltu Jun 11, 2024
e4080d6
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Jul 16, 2024
16a511c
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Jul 16, 2024
1e8b1a9
Fix bridge macro compilation
georgepisaltu Jul 17, 2024
c979c4a
Fix system ext bench compilation
georgepisaltu Jul 17, 2024
3b2d1de
Fix `vec` compilation issues
georgepisaltu Jul 17, 2024
0ee8a91
Fix import
georgepisaltu Jul 17, 2024
fa98533
Disambiguate imports
georgepisaltu Jul 17, 2024
d0be760
WIP plug in extension weights
georgepisaltu Jul 23, 2024
d6b496d
Finish the weight plug in impl
georgepisaltu Jul 29, 2024
2f84a83
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Jul 29, 2024
c62ff9f
Refactor `post_dispatch`
georgepisaltu Jul 29, 2024
c7fd53b
Hide deprecated fn docs
georgepisaltu Jul 29, 2024
d22b958
Add support for ext version and support xt v4
georgepisaltu Jul 30, 2024
486e3a6
Remove `expect`
georgepisaltu Jul 30, 2024
2f85cb5
Fix compilation after weights plug in
georgepisaltu Jul 30, 2024
1b81b4e
Cleanup work
georgepisaltu Jul 30, 2024
19f206b
Formatting
georgepisaltu Jul 30, 2024
a497a13
Fix asset conv tx payment bench impl
georgepisaltu Jul 30, 2024
28dec57
Fix executive tests
georgepisaltu Jul 31, 2024
ba61fd0
Add test for data preservation in `CheckNonce`
georgepisaltu Jul 31, 2024
fe353bd
Refactor `CheckNonce` to preserve account data
georgepisaltu Jul 31, 2024
10b5c2d
Typos
georgepisaltu Jul 31, 2024
9fe211f
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Jul 31, 2024
b8d2b46
Fix bridge hub base delivery fees
georgepisaltu Jul 31, 2024
5e9f9df
Add versioning for bare uxt
georgepisaltu Jul 31, 2024
3f27062
Enhance uxt decode test
georgepisaltu Jul 31, 2024
6b3dbb8
Fix cli tests
georgepisaltu Jul 31, 2024
a2a072f
Fix bridges xcm fees
georgepisaltu Jul 31, 2024
19a379a
Fix cli tests
georgepisaltu Jul 31, 2024
3a6b3cc
Make `post_dispatch` refund weight
georgepisaltu Aug 5, 2024
cb603a8
Refactor `Extrinsic*` events
georgepisaltu Aug 6, 2024
60cdd36
Refund the extension's weight in all cases
georgepisaltu Aug 6, 2024
6f66f33
Fix fn name
georgepisaltu Aug 7, 2024
349261f
Remove `Context` from `TransactionExtension`
georgepisaltu Aug 7, 2024
d382e62
Fix omited context removal
georgepisaltu Aug 7, 2024
d11a54b
Fix compilation
georgepisaltu Aug 7, 2024
e87bf62
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Aug 7, 2024
e82f223
Fix bridges compilation
georgepisaltu Aug 8, 2024
9a4ffcc
Fix polkadot pvf dev dependency in Cargo.toml
georgepisaltu Aug 8, 2024
74da659
Fix weight tests
georgepisaltu Aug 8, 2024
7a475e2
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Aug 9, 2024
8ff07a4
Split `trait Extrinsic` into logical components (#3736)
georgepisaltu Aug 9, 2024
4f4de36
Add transaction extension example
georgepisaltu Aug 13, 2024
f1f5aa3
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Aug 13, 2024
b272419
Fix toml formatting
georgepisaltu Aug 13, 2024
059a263
Fix features
georgepisaltu Aug 13, 2024
42dce46
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Aug 19, 2024
8f72895
Refactor extension weights
georgepisaltu Aug 19, 2024
89587d5
fix storage weight reclaim test
georgepisaltu Aug 19, 2024
a0a41c8
Fix compilation
georgepisaltu Aug 20, 2024
53ad8c0
Fix bench features
georgepisaltu Aug 20, 2024
67d655e
Fix fee test
georgepisaltu Aug 20, 2024
999fd23
Fix feature propagation
georgepisaltu Aug 20, 2024
0b5c6e1
Fix toml format
georgepisaltu Aug 20, 2024
40f4791
Fix bench test
georgepisaltu Aug 20, 2024
53d60ed
Minor fixes
georgepisaltu Aug 26, 2024
1f69aa1
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Aug 26, 2024
3d417fe
Minor doc fix
georgepisaltu Aug 26, 2024
d414add
Fix compilation
georgepisaltu Aug 26, 2024
2de91d7
Fix feature propagation
georgepisaltu Aug 26, 2024
bde3593
Update extrinsic encoding reference docs
georgepisaltu Aug 26, 2024
1e3a64f
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 3, 2024
5084750
Fix compilation in bridge relayers
georgepisaltu Sep 4, 2024
22886d3
Refactor uxt unit tests
georgepisaltu Sep 9, 2024
d95cad7
Disallow unknown origins in `DispatchTransaction`
georgepisaltu Sep 9, 2024
ff0f756
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 9, 2024
384c6bb
Update docs
georgepisaltu Sep 10, 2024
11e83d9
Fix compilation with new trait
georgepisaltu Sep 10, 2024
9ecad32
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 10, 2024
cbfdf38
Fix toml format
georgepisaltu Sep 10, 2024
34693fa
Fix frame system extension UTs
georgepisaltu Sep 10, 2024
70de7a8
Update benchmarking for extensions
georgepisaltu Sep 13, 2024
8cb45b6
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Sep 13, 2024
03783d2
Fix compilation and move test type
georgepisaltu Sep 13, 2024
56012d4
[To be merged in another PR]: small improvment on top of transaction …
gui1117 Sep 18, 2024
4bdda99
Refactoring and renames
georgepisaltu Sep 18, 2024
b0274da
Other fixes
georgepisaltu Sep 18, 2024
ec3a948
Readd removed prdoc
georgepisaltu Sep 18, 2024
a72e664
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 18, 2024
cc4c3d8
Reorganize docs
georgepisaltu Sep 18, 2024
ad44e7d
Fix compilation after example refactor
georgepisaltu Sep 18, 2024
95853ad
Small refactor in sudo extension
georgepisaltu Sep 18, 2024
839a776
Reintroduce `TestXt` as a type alias
georgepisaltu Sep 18, 2024
cc064c5
Remove unused import
georgepisaltu Sep 18, 2024
e0bcda1
Small refactor
georgepisaltu Sep 18, 2024
ff39bc9
Update `VerifyMultiSignature` extension
georgepisaltu Sep 18, 2024
840b18b
Remove `expect` in `Extrinsic` impl
georgepisaltu Sep 18, 2024
ce577be
Fix compilation
georgepisaltu Sep 18, 2024
98a0ff4
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 18, 2024
c02478b
[to be merged in transaction extension PR] (#5770)
gui1117 Sep 19, 2024
5c22d66
[Based on transaction extension 3685] make transaction extension pipe…
gui1117 Sep 20, 2024
d82c84b
Update pr doc bumps
georgepisaltu Sep 20, 2024
b19cae7
Rename `OriginOf` to `DispatchOriginOf`
georgepisaltu Sep 20, 2024
059210a
Move sig verify ext and bench it
georgepisaltu Sep 25, 2024
b069d6a
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Sep 25, 2024
b805adb
Minor fix
georgepisaltu Sep 25, 2024
699e042
Remove `AccountU64`
georgepisaltu Sep 25, 2024
c38884f
Fix compilation
georgepisaltu Sep 25, 2024
84c39c0
Fix shell compilation
georgepisaltu Sep 25, 2024
5a11e64
Remove stale TODO
georgepisaltu Sep 25, 2024
43372be
Various refactoring
georgepisaltu Sep 26, 2024
233501d
Unbreak `ExtrinsicSuccess` UI integration
georgepisaltu Sep 26, 2024
52d9bb8
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 26, 2024
e61717b
Refactor trait for authorized origins
georgepisaltu Sep 26, 2024
699ccb5
Merge remote-tracking branch 'origin/george/restore-gav-tx-ext' into …
georgepisaltu Sep 26, 2024
4390e43
Fix unused fn
georgepisaltu Sep 26, 2024
24f335c
Fix PRDOC version bump
georgepisaltu Sep 26, 2024
72ac31c
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Sep 30, 2024
cb0f606
Fix text
georgepisaltu Sep 30, 2024
8be6c3f
Rename around tx payment ext
georgepisaltu Sep 30, 2024
916f1d2
Fix clippy
georgepisaltu Sep 30, 2024
7862a09
Fix UI test
georgepisaltu Sep 30, 2024
9e64a81
Run zepter
georgepisaltu Sep 30, 2024
76d2270
Various formatting
georgepisaltu Sep 30, 2024
b5144a0
Doc nits for TransactionExtention (#5906)
bkontur Oct 2, 2024
d2cf9b2
Minor refactor
georgepisaltu Oct 3, 2024
83930e8
Make `weight` explicit
georgepisaltu Oct 4, 2024
ad221e1
Typos
georgepisaltu Oct 4, 2024
6535b61
Update PrDoc
georgepisaltu Oct 4, 2024
3cc30b4
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Oct 4, 2024
3faec23
Minor refactor in `verify-signature`
georgepisaltu Oct 4, 2024
26ffef5
Fix offchain worker test compilation
georgepisaltu Oct 4, 2024
f13e5c3
Fix feeless if test compilation
georgepisaltu Oct 4, 2024
499386a
Fix bridges test compilation
georgepisaltu Oct 4, 2024
d85a91b
Remove extension version usage in tests
georgepisaltu Oct 4, 2024
a60dd86
taplo fix
gui1117 Oct 7, 2024
4b5dd2c
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
gui1117 Oct 7, 2024
62e961c
prdoc: remove outdated crates
gui1117 Oct 7, 2024
9e7216e
rename in ExtrinsicMetadata: SignedExtensions to TransactionExtensions
gui1117 Oct 7, 2024
00c4406
add debug assert
gui1117 Oct 7, 2024
9f395c4
Set `UncheckedExtrinsic` version in metadata to 4
georgepisaltu Oct 14, 2024
11f8d1f
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Oct 14, 2024
f2d7446
Fix metadata tests
georgepisaltu Oct 15, 2024
d9661b7
Refactor extensions for bare extrinsics
georgepisaltu Oct 15, 2024
a1a5fda
Remove signed transactions in v5
georgepisaltu Oct 16, 2024
69feb72
Fix docs
georgepisaltu Oct 16, 2024
9fb1251
Merge remote-tracking branch 'origin' into george/restore-gav-tx-ext
georgepisaltu Oct 16, 2024
9cec831
Fix system extension weights proof size
georgepisaltu Oct 16, 2024
8fe9176
Minor fixes
georgepisaltu Oct 16, 2024
d2f348d
Fix immortal extension bench
georgepisaltu Oct 16, 2024
a52d908
Fix semver checks
georgepisaltu Oct 16, 2024
01574f2
Fix prdoc semver
georgepisaltu Oct 17, 2024
b600af0
Merge remote-tracking branch 'origin/master' into george/restore-gav-…
georgepisaltu Oct 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 42 additions & 18 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ members = [
"substrate/frame/election-provider-support/solution-type/fuzzer",
"substrate/frame/elections-phragmen",
"substrate/frame/examples",
"substrate/frame/examples/authorization-tx-extension",
"substrate/frame/examples/basic",
"substrate/frame/examples/default-config",
"substrate/frame/examples/dev-mode",
Expand Down Expand Up @@ -913,6 +914,7 @@ pallet-dev-mode = { path = "substrate/frame/examples/dev-mode", default-features
pallet-election-provider-multi-phase = { path = "substrate/frame/election-provider-multi-phase", default-features = false }
pallet-election-provider-support-benchmarking = { path = "substrate/frame/election-provider-support/benchmarking", default-features = false }
pallet-elections-phragmen = { path = "substrate/frame/elections-phragmen", default-features = false }
pallet-example-authorization-tx-extension = { path = "substrate/frame/examples/authorization-tx-extension", default-features = false }
pallet-example-basic = { path = "substrate/frame/examples/basic", default-features = false }
pallet-example-frame-crate = { path = "substrate/frame/examples/frame-crate", default-features = false }
pallet-example-kitchensink = { path = "substrate/frame/examples/kitchensink", default-features = false }
Expand Down
3 changes: 3 additions & 0 deletions bridges/bin/runtime-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ sp-io = { workspace = true }
sp-runtime = { workspace = true }
sp-std = { workspace = true }
sp-trie = { optional = true, workspace = true }
sp-weights = { workspace = true }

# Polkadot dependencies
xcm = { workspace = true }
Expand Down Expand Up @@ -80,6 +81,7 @@ std = [
"sp-runtime/std",
"sp-std/std",
"sp-trie/std",
"sp-weights/std",
"tuplex/std",
"xcm/std",
]
Expand All @@ -93,6 +95,7 @@ runtime-benchmarks = [
"pallet-bridge-messages/test-helpers",
"pallet-bridge-parachains/runtime-benchmarks",
"pallet-bridge-relayers/runtime-benchmarks",
"pallet-transaction-payment/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"sp-trie",
Expand Down
Loading
Loading