Skip to content

Commit

Permalink
fix runtime tests
Browse files Browse the repository at this point in the history
  • Loading branch information
uiii committed Dec 5, 2023
1 parent 954276b commit 9b7ca49
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/e2e/fixtures/runtime-constant-info-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
[
"Description",
"The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!\n\nIf you really need it to be zero, you can enable the feature insecure_zero_ed for this pallet. However, you do so at your own risk: this will open up a major DoS vector. In case you have multiple sources of provider references, you may also get unexpected behaviour if you set this to zero.\n\nBottom line: Do yourself a favour and make it at least one!"
"The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! \n\nIf you really need it to be zero, you can enable the feature insecure_zero_ed for this pallet. However, you do so at your own risk: this will open up a major DoS vector. In case you have multiple sources of provider references, you may also get unexpected behaviour if you set this to zero.\n\nBottom line: Do yourself a favour and make it at least one!"
],
[
"Type",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/runtime-constants-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"itemsTable": [
[
"ExistentialDeposit",
"The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO!"
"The minimum amount required to keep an account open. MUST BE GREATER THAN ZERO! \n\nIf you really need it to be zero, you can enable the feature insecure_zero_ed for this pallet. However, you do so at your own risk: this will open up a major DoS vector. In case you have multiple sources of provider references, you may also get unexpected behaviour if you set this to zero.\n\nBottom line: Do yourself a favour and make it at least one!"
],
[
"MaxFreezes",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/runtime-storage-info-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],
[
"Description",
"The Balances pallet example of storing the balance of an account.\n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> }\n\nYou can also store the balance of an account in the System pallet.\n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = System }\n\nBut this comes with tradeoffs, storing account balances in the system pallet stores frame_system data alongside the account data contrary to storing account balances in the Balances pallet, which uses a StorageMap to store balances data only. NOTE: This is only used in the case that this pallet is used to store balances."
"The Balances pallet example of storing the balance of an account. \n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> }\n\nYou can also store the balance of an account in the System pallet.\n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = System }\n\nBut this comes with tradeoffs, storing account balances in the system pallet stores frame_system data alongside the account data contrary to storing account balances in the Balances pallet, which uses a StorageMap to store balances data only. NOTE: This is only used in the case that this pallet is used to store balances."
],
[
"Parameters",
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/fixtures/runtime-storages-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[
"Account",
"1",
"The Balances pallet example of storing the balance of an account."
"The Balances pallet example of storing the balance of an account. \n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = StorageMapShim<Self::Account<Runtime>, frame_system::Provider<Runtime>, AccountId, Self::AccountData<Balance>> }\n\nYou can also store the balance of an account in the System pallet.\n\nExample\n\nnocompile impl pallet_balances::Config for Runtime { type AccountStore = System }\n\nBut this comes with tradeoffs, storing account balances in the system pallet stores frame_system data alongside the account data contrary to storing account balances in the Balances pallet, which uses a StorageMap to store balances data only. NOTE: This is only used in the case that this pallet is used to store balances."
],
[
"Freezes",
Expand Down

0 comments on commit 9b7ca49

Please sign in to comment.