seal: Refactor ext_gas_price (#6478)

* seal: Refactor ext_gas_price

* Remove seals dependency on pallet_transaction_payment
* Add weight as an argument to ext_gas_price

* Fixed documentation nits from review

* Do not use unchecked math even in test code
This commit is contained in:
Alexander Theißen
2020-06-24 12:52:49 +02:00
committed by GitHub
parent f36b78570f
commit a3a42f599a
9 changed files with 51 additions and 51 deletions
-1
View File
@@ -4006,7 +4006,6 @@ dependencies = [
"pallet-contracts-primitives",
"pallet-randomness-collective-flip",
"pallet-timestamp",
"pallet-transaction-payment",
"parity-scale-codec",
"parity-wasm 0.41.0",
"pretty_assertions",