Skip to content
This repository has been archived by the owner on Feb 21, 2022. It is now read-only.

Commit

Permalink
Reduce state rent (#17)
Browse files Browse the repository at this point in the history
* Disable state rent

* Bump spec version

* Fix syntax error

* Set RentByteFee to 100_000, down from 4_000_000_000

Co-authored-by: Alexander Theißen <[email protected]>
  • Loading branch information
ascjones and athei authored Oct 16, 2020
1 parent 2ba78dd commit f1fef0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("canvas"),
impl_name: create_runtime_str!("canvas"),
authoring_version: 1,
spec_version: 6,
spec_version: 7,
impl_version: 6,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -259,7 +259,7 @@ impl pallet_transaction_payment::Trait for Runtime {

parameter_types! {
pub const TombstoneDeposit: Balance = 16 * MILLICENTS;
pub const RentByteFee: Balance = 4 * MILLICENTS;
pub const RentByteFee: Balance = 100_000;
pub const RentDepositOffset: Balance = 1000 * MILLICENTS;
pub const SurchargeReward: Balance = 150 * MILLICENTS;
}
Expand Down

0 comments on commit f1fef0c

Please sign in to comment.