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

[Tx ext stage 2: 2/4] Introduce #[pallet::authorize(...)] macro attribute and AuthorizeCall system transaction extension #6324

Open
wants to merge 38 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cfe8667
add source to transaction extension
gui1117 Nov 1, 2024
f84192b
impl authorize
gui1117 Nov 1, 2024
f14e5ca
fix
gui1117 Nov 1, 2024
16d691b
prdoc
gui1117 Nov 1, 2024
ab46f1b
fmt
gui1117 Nov 1, 2024
93d9ed3
fmt
gui1117 Nov 1, 2024
241817e
Merge branch 'gui-tx-ext-stage-2-part-1' into gui-tx-ext-stage-2-part-2
gui1117 Nov 1, 2024
de1d4f4
improve code gen
gui1117 Nov 1, 2024
baa6fc5
prdoc
gui1117 Nov 20, 2024
ffe33de
apply suggestions
gui1117 Nov 20, 2024
461059a
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Nov 20, 2024
7862970
use AsTransctionAuthorizedOrigin::is_transaction_authorized
gui1117 Nov 20, 2024
3dd50ca
test for call without authorization
gui1117 Nov 20, 2024
ec1b263
do not force std in test
gui1117 Nov 20, 2024
25691b8
add authorize call tx ext everywhere
gui1117 Nov 20, 2024
acd4282
update doc + example weight is zero
gui1117 Nov 22, 2024
6b65245
fmt
gui1117 Dec 2, 2024
71ca562
Merge remote-tracking branch 'origin/master' into gui-tx-ext-stage-2-…
gui1117 Dec 4, 2024
743835c
do not leak runtime-benchmark feature in dev build
gui1117 Dec 4, 2024
7d08985
minor
gui1117 Dec 4, 2024
83873c6
taplo
gui1117 Dec 4, 2024
f62152a
cannot link to dev dependencies
gui1117 Dec 4, 2024
33646e7
clippy
gui1117 Dec 4, 2024
2bc6d0c
fix tests and doc
gui1117 Dec 5, 2024
62c9e6e
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
d040d4f
rustdoc
gui1117 Dec 5, 2024
e538e29
rustdoc
gui1117 Dec 5, 2024
3a757e8
fix span for split feature
gui1117 Dec 5, 2024
0946d79
Update from gui1117 running command 'update-ui'
actions-user Dec 5, 2024
d60e170
keep same error message as before
gui1117 Dec 5, 2024
f9cde01
fix test
gui1117 Dec 5, 2024
2c905e3
prdoc bump versions
gui1117 Dec 5, 2024
4bc94dd
Update from gui1117 running command 'update-ui'
actions-user Dec 5, 2024
a4452bc
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
1566519
Merge branch 'master' into gui-tx-ext-stage-2-part-2
gui1117 Dec 5, 2024
2e756bc
ui test
gui1117 Dec 5, 2024
c002f10
remove non deterministic UI test
gui1117 Dec 6, 2024
36620e1
Update substrate/frame/support/src/traits/tasks.rs
gui1117 Dec 8, 2024
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
19 changes: 8 additions & 11 deletions substrate/frame/support/procedural/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,14 @@ codec = { features = [
"max-encoded-len",
], workspace = true }
regex = { workspace = true }
sp-metadata-ir = { workspace = true, features = ["std"] }
sp-metadata-ir = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
sp-core = { workspace = true, features = ["std"] }
sp-io = { workspace = true, features = ["std"] }
sp-runtime = { features = [
"runtime-benchmarks",
"serde",
"std",
], workspace = true }
frame-system = { workspace = true, features = ["runtime-benchmarks", "std"] }
frame-support = { workspace = true, features = ["runtime-benchmarks", "std"] }
frame-benchmarking = { workspace = true, features = ["std"] }
sp-core = { workspace = true }
sp-io = { workspace = true }
sp-runtime = { features = ["runtime-benchmarks", "serde"], workspace = true }
frame-system = { workspace = true, features = ["runtime-benchmarks"] }
frame-support = { workspace = true, features = ["runtime-benchmarks"] }
gui1117 marked this conversation as resolved.
Show resolved Hide resolved
frame-benchmarking = { workspace = true }
pretty_assertions = { workspace = true }
static_assertions = { workspace = true }

Expand All @@ -65,6 +61,7 @@ std = [
"sp-io/std",
"sp-metadata-ir/std",
"sp-runtime/std",
"frame-benchmarking/std",
]
no-metadata-docs = []
experimental = []
Expand Down
Loading