Add storage deposit support (#4304)
* add storage deposit support * Revert "add storage deposit support" This reverts commit 10eea6332b2756b23766df316a90ba4f244cb424. * generate new metadata * make it build * add storage deposit in RPCs * rename endowment to value * support older nodes * check the right things * hide storage_deposit until better supported * add the right defaults * hardcode storageDepositLimit to null
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -204,7 +204,7 @@ export default {
|
||||
},
|
||||
InstantiateRequest: {
|
||||
origin: 'AccountId',
|
||||
endowment: 'Balance',
|
||||
value: 'Balance',
|
||||
gasLimit: 'Gas',
|
||||
code: 'Bytes',
|
||||
data: 'Bytes',
|
||||
|
||||
@@ -257,7 +257,7 @@ export interface HostFnWeightsTo264 extends Struct {
|
||||
/** @name InstantiateRequest */
|
||||
export interface InstantiateRequest extends Struct {
|
||||
readonly origin: AccountId;
|
||||
readonly endowment: Balance;
|
||||
readonly value: Balance;
|
||||
readonly gasLimit: Gas;
|
||||
readonly code: Bytes;
|
||||
readonly data: Bytes;
|
||||
|
||||
Reference in New Issue
Block a user