This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Contracts: migrate to fungible traits #14020
Merged
paritytech-processbot
merged 130 commits into
master
from
jg/13643-contracts-migrate-to-fungible-traits
Aug 2, 2023
Merged
Changes from 11 commits
Commits
Show all changes
130 commits
Select commit
Hold shift + click to select a range
7179359
contracts: refactor currency to use fungible traits
juangirini c0a95d2
contracts: refactor currency to use fungible traits
juangirini da7db01
contracts: merge master and resolve conflicts
juangirini 9a1e824
Merge branch 'master' into jg/13643-contracts-migrate-to-fungible-traits
juangirini 5eee859
contracts: add minor improvements
juangirini 713a426
contracts: merge master and fix conflicts
juangirini 4acbbe5
contracts: max holds config set
juangirini e6d82d1
contracts: fix some typos
juangirini c47ac0d
contracts: map token errors
juangirini 4e8a7cc
fix typo
juangirini 33229ff
contracts: add 0 balance transfer to test
juangirini a1fd020
contracts: not transfer if value is zero
juangirini 0967556
contracts: [WIP] add StorageDepositHold
juangirini 3acdcbb
Merge branch 'master' into jg/13643-contracts-migrate-to-fungible-traits
juangirini bcb9077
contracts: add storage deposit held event
juangirini 8f244c4
contracts: clean up some code and comments
juangirini 73b9285
contracts: add deposit storage released event
juangirini 26472d5
contracts: update comment
juangirini c442b79
contracts: update slash cannot kill account test
juangirini 3c515ab
contracts: fix tests
juangirini 4d68a48
contracts: add some comments to the slashing test
juangirini 78fc19e
contracts: add some comments to the slashing test
juangirini 2c1e2ea
contracts: remove references to Currency
juangirini e6509d7
Merge branch 'master' into jg/13643-contracts-migrate-to-fungible-traits
juangirini 1c82bef
contracts: do not transfer if from equals to
juangirini 9eb19ef
wip
juangirini e4853e9
Merge remote-tracking branch 'origin/master' into jg/13643-contracts-…
juangirini 921d89c
bound BalanceOf<T>
juangirini a103057
added FixedPointOperand to Balance trait
juangirini 5c14529
move migrate sequence to config
juangirini e8c493c
remove commented out code
juangirini 0e62930
Update frame/contracts/src/lib.rs
juangirini 14a7175
remove Migrations generic
juangirini 2601d79
make runtime use noop migrations
juangirini e88854a
restrict is_upgrade_supported
juangirini 1400ab0
undo is_upgrade_supported change
juangirini cc7609c
Update bin/node/runtime/src/lib.rs
juangirini c173ad7
add rust doc example for `Migrations`
juangirini c9cf9c6
feature gate NoopMigration
juangirini de545a3
fix example code
juangirini 62bec96
improve example
juangirini f446edc
wip
juangirini de67661
rebase and fix conflicts
juangirini a1b9d71
remove FixedPointOperand from trait
juangirini c68288f
trait bound BalanceOf
juangirini 9a813ef
more trait bound BalanceOf
juangirini 9cddbef
rebase
juangirini 11308f5
update to use RuntimeHoldReason
juangirini f4e1e53
replace Fungible for Currency
juangirini 4da6b17
update runtime
juangirini 790a8d2
WIP
juangirini 1922bfe
make v10 benchmark generic over currency
juangirini b2da991
rebase and solve conflicts
juangirini d3ea9e2
solve merge conflicts
juangirini 3673892
rebase and solve conflicts
juangirini e6201c1
make v12 migration benchmarking generic over DepositPerItem and Depos…
juangirini 22fd924
give some format
juangirini 013dc41
rebase and fix conflicts
juangirini f8da1e0
fix tests and old migrations
juangirini e29f2d4
add migration v13 placholder
juangirini ca8772a
rebase and fix errors\
juangirini 6df91bd
wip
juangirini eb9c56a
wip
juangirini 7f18359
rebase and merge conflicts
juangirini ab1af04
add benchmarking
juangirini 316ab36
add weights
juangirini 5209d01
wip
juangirini 0cd0830
[pallet_collective] Enforce prime is a valid member of collective in …
ToufeeqP de849d2
update to docify 0.2.0 / crate-relative embed paths (#14570)
sam0x17 adba2c9
Fix Society v2 migration (#14421)
liamaharon 9a42019
Moves `Block` to `frame_system` instead of `construct_runtime` and re…
gupnik 1744884
Refactor the asset-conversion-tx-payment pallet (#14558)
jsidorenko 15634c2
wip
juangirini c2eb60d
rebase and fix conflicts
juangirini 1775efa
wip
juangirini cb1adf3
Merge remote-tracking branch 'origin/master' into jg/13643-contracts-…
juangirini 12c522c
wip
juangirini 6fb9713
improve try-runtime imports
juangirini cdd0ca4
fix benchmark test
juangirini ae4fda2
improved rustdocs
juangirini f5e4b20
improved rustdocs
juangirini cb9217d
remove log
juangirini 36f936a
Merge branch 'master' into jg/13643-contracts-migrate-to-fungible-traits
juangirini 632ef2e
ignore variable
juangirini bc8efaf
reduce caller funding
juangirini 7c97aae
move v13 out
juangirini a96a50e
update v13 migration
juangirini c67ea9f
v13 migration
juangirini ad7fa61
benchmark v13_migration
juangirini 6e6fdb3
fix broken compilation
juangirini ae5d558
Merge branch 'master' of https://github.com/paritytech/substrate into…
90de832
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
55fd7ce
remove all the `where BalanceOf`
juangirini 50e0348
add Balance to Config
juangirini 199a6f5
Merge remote-tracking branch 'origin/master' into jg/13643-contracts-…
juangirini 05299ae
Merge remote-tracking branch 'origin/master' into jg/13643-contracts-…
juangirini a741737
improve docs
juangirini 3950327
add new deposit storage error
juangirini 0a790a6
remove todo message
juangirini 0c57451
rename migration v13 pre rebase
juangirini ec5415f
rebase
juangirini 560d190
fix tests
juangirini ed3b399
add missing migration;
juangirini 8186e21
bump storage version
juangirini 08619a0
apply review suggestions
juangirini 9435d4b
improved comment
juangirini 06f7941
remove unnecessary code
juangirini eec1d20
simplify migrations
juangirini 8b69d3e
mock balance
juangirini 38c044c
mock more for benchmarks
juangirini 48ce88c
rebase and merge conflicts
juangirini 4cd120f
fix benchmarking tests
juangirini f08f844
fix benchmarking tests with caller
juangirini da6e8c1
improve cargo toml
juangirini 3e6ce6a
solve nit
juangirini 0ce5815
Update frame/contracts/src/lib.rs
juangirini 3054dce
Update frame/contracts/src/exec.rs
juangirini b0a6d39
Update frame/contracts/src/exec.rs
juangirini 49d8f7f
Update frame/contracts/src/storage/meter.rs
juangirini 432ea07
review improvements
juangirini ae7ddf7
Merge remote-tracking branch 'origin/master' into jg/13643-contracts-…
juangirini a7bf911
remove extra events
juangirini 41812ef
update cargo
juangirini 2ed2c85
undo update cargo
juangirini 49efe87
review updates
juangirini c9673f6
rebase and fix conflicts
juangirini 90c4c84
rebase and fix conflicts
juangirini 5c668aa
remove type Balance
juangirini 39e83cc
add extra fields to events
juangirini aae16cc
fix zepter ci
juangirini File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.