Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Merge ab2c7a8 into c8b5f1e
Browse files Browse the repository at this point in the history
  • Loading branch information
vpulim committed Oct 8, 2018
2 parents c8b5f1e + ab2c7a8 commit b758048
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
31 changes: 30 additions & 1 deletion hardforks/constantinople.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,36 @@
"status": "Draft"
},
"gasConfig": {},
"gasPrices": {},
"gasPrices": {
"netSstoreNoopGas": {
"v": 200,
"d": "Once per SSTORE operation if the value doesn't change"
},
"netSstoreInitGas": {
"v": 20000,
"d": "Once per SSTORE operation from clean zero"
},
"netSstoreCleanGas": {
"v": 5000,
"d": "Once per SSTORE operation from clean non-zero"
},
"netSstoreDirtyGas": {
"v": 200,
"d": "Once per SSTORE operation from dirty"
},
"netSstoreClearRefund": {
"v": 15000,
"d": "Once per SSTORE operation for clearing an originally existing storage slot"
},
"netSstoreResetRefund": {
"v": 4800,
"d": "Once per SSTORE operation for resetting to the original non-zero value"
},
"netSstoreResetClearRefund": {
"v": 19800,
"d": "Once per SSTORE operation for resetting to the original zero value"
}
},
"vm": {},
"pow": {
"minerReward": {
Expand Down
1 change: 1 addition & 0 deletions tests/params.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ tape('[Common]: Parameter access', function (t) {

st.equal(c.param('pow', 'minerReward', 'chainstart'), '5000000000000000000', 'Should return correct value for chain start')
st.equal(c.param('pow', 'minerReward', 'byzantium'), '3000000000000000000', 'Should reflect HF update changes')
st.equal(c.param('gasPrices', 'netSstoreNoopGas', 'constantinople'), 200, 'Should return updated sstore gas prices for constantinople')

st.end()
})
Expand Down

0 comments on commit b758048

Please sign in to comment.