We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b31ead commit ceb1787Copy full SHA for ceb1787
lib/vm/opFns.js
@@ -1082,15 +1082,15 @@ function isCreateOpCode (opName) {
1082
}
1083
1084
function getContractStorage (runState, address, key, cb) {
1085
- if (runState._common.activeHardfork() === 'constantinople') {
+ if (runState._common.hardfork() === 'constantinople') {
1086
runState.storageReader.getContractStorage(address, key, cb)
1087
} else {
1088
runState.stateManager.getContractStorage(address, key, cb)
1089
1090
1091
1092
function updateSstoreGas (runState, found, value) {
1093
1094
var original = found.original
1095
var current = found.current
1096
if (current.equals(value)) {
0 commit comments