contracts: Improve contract address derivation#12883
contracts: Improve contract address derivation#12883paritytech-processbot[bot] merged 14 commits intomasterfrom
Conversation
|
/cmd queue -c bench-bot $ pallet dev pallet_contracts |
|
@athei https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2139549 was started for your command Comment |
|
@athei Command |
|
/cmd queue -c bench-bot $ pallet dev pallet_contracts |
|
@athei https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2141057 was started for your command Comment |
|
@athei Command |
Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
|
bot merge |
|
Waiting for commit status. |
* Add prefix to address derivation * Extend benchmark * Fix node test * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts * Adapt to new benchmark * Update dispatchable benchmarks * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts * Use benchmark results * Apply suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> * Don't use T::AdressGenerator directly * Rename constructor_args to input_data Co-authored-by: command-bot <> Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
* Add prefix to address derivation * Extend benchmark * Fix node test * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts * Adapt to new benchmark * Update dispatchable benchmarks * ".git/.scripts/bench-bot.sh" pallet dev pallet_contracts * Use benchmark results * Apply suggestions from code review Co-authored-by: Sasha Gryaznov <hi@agryaznov.com> * Don't use T::AdressGenerator directly * Rename constructor_args to input_data Co-authored-by: command-bot <> Co-authored-by: Sasha Gryaznov <hi@agryaznov.com>
Decodenow)The bulk of the changes are within tests where we move away from calling
Pallet::contract_addresswhere possible and usePallet::bare_instantiateinstead which returns the new contracts address.