aboutsummaryrefslogtreecommitdiff
path: root/core/vm/contracts_stateful.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-12-15 17:05:51 -0500
committerAaron Buchwald <[email protected]>2020-12-15 17:05:51 -0500
commit34da2a9bbc1cad12e5d1ab14799290e4b4987f99 (patch)
tree40caaa95a069998b98322123a077fe32e394ce72 /core/vm/contracts_stateful.go
parent3bf6e094864fde72484b824749019c64411239c3 (diff)
Fix apricot instruction set
Diffstat (limited to 'core/vm/contracts_stateful.go')
-rw-r--r--core/vm/contracts_stateful.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/vm/contracts_stateful.go b/core/vm/contracts_stateful.go
index 3ef7a9e..b91acfb 100644
--- a/core/vm/contracts_stateful.go
+++ b/core/vm/contracts_stateful.go
@@ -27,8 +27,8 @@ var PrecompiledContractsApricot = map[common.Address]StatefulPrecompiledContract
common.BytesToAddress([]byte{8}): newWrappedPrecompiledContract(&bn256PairingIstanbul{}),
common.BytesToAddress([]byte{9}): newWrappedPrecompiledContract(&blake2F{}),
common.HexToAddress("0x0100000000000000000000000000000000000000"): &deprecatedContract{msg: "hardcoded genesis contract has been deprecated"},
- common.HexToAddress("0xffffffffffffffffffffffffffffffffffffff"): &nativeAssetBalance{gasCost: params.AssetBalanceApricot},
- common.HexToAddress("0xfffffffffffffffffffffffffffffffffffffe"): &nativeAssetCall{gasCost: params.AssetCallApricot},
+ common.HexToAddress("0x0100000000000000000000000000000000000001"): &nativeAssetBalance{gasCost: params.AssetBalanceApricot},
+ common.HexToAddress("0x0100000000000000000000000000000000000002"): &nativeAssetCall{gasCost: params.AssetCallApricot},
}
// StatefulPrecompiledContract is the interface for executing a precompiled contract