-
Notifications
You must be signed in to change notification settings - Fork 2.7k
contracts: Make Origin information available #13708
Changes from 1 commit
7fe7728
8fda4a6
f52ba84
3705212
92a2322
e25d27b
04f0b31
b3a1ac7
0fc1c1d
e4aeec9
197efe9
f31b50d
2936439
aa91b3b
99bfe7c
4566e2c
79317cb
ed9550e
1421819
8fb4971
d954a09
0eaaebd
05f00ac
7a8a058
2e16ef8
308b2ff
7b9979c
da14bd0
d36d70e
9f85d5f
bf55a33
5208f67
e3e1a48
d756cf1
6158374
86c38ab
baeb20e
33531bf
2e746b7
e615c54
54540dd
837cb64
f7bd9fe
d03987d
af14ee6
e656220
c6cd8d9
2357c5c
99a42b1
3165558
5dc6092
1b85d3a
6865b75
f224bfc
086fa30
87d42b9
e8f4af2
aecd9f7
80b103f
28fba03
0630f4a
0d36126
5dc9796
25235f6
a2e76f7
32de518
da9d6d8
225c8d4
b3c8445
fe39e1f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -340,7 +340,10 @@ where | |
| return match origin { | ||
| Caller::Root => { | ||
| match limit { | ||
| // If the limit is specified, that the root's limit. | ||
| // We don't have a way to check the root's limit as there isn't an account | ||
| // associated with it. Therefore, whatever the specified limit is, that will be | ||
| // the root's limit. Following this criteria, when the caller is root we need | ||
| // the limit parameter to be specified. | ||
| Some(l) => Ok(Self { limit: l, ..Default::default() }), | ||
| None => Err(<Error<T>>::StorageDepositLimitRequired.into()), | ||
|
||
| } | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.