aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm_test.go
diff options
context:
space:
mode:
authorDan Laine <[email protected]>2020-11-01 18:24:33 -0500
committerDan Laine <[email protected]>2020-11-01 18:24:33 -0500
commitc6fcd057903dc5ccc785b3a34fef534a4cb39d0a (patch)
tree76e1bb939b6e3e792c4649162907b14e8ab45ec7 /plugin/evm/vm_test.go
parent24abdf7cc0e5fc35ec89e45c1a8ccade9a49f11b (diff)
remove id.Bytes() and ids.NewID
Diffstat (limited to 'plugin/evm/vm_test.go')
-rw-r--r--plugin/evm/vm_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugin/evm/vm_test.go b/plugin/evm/vm_test.go
index 8ce7825..1117d0d 100644
--- a/plugin/evm/vm_test.go
+++ b/plugin/evm/vm_test.go
@@ -23,15 +23,15 @@ import (
var (
testNetworkID uint32 = 10
- testCChainID = ids.NewID([32]byte{'c', 'c', 'h', 'a', 'i', 'n', 't', 'e', 's', 't'})
- testXChainID = ids.NewID([32]byte{'t', 'e', 's', 't', 'x'})
- nonExistentID = ids.NewID([32]byte{'F'})
+ testCChainID = ids.ID([32]byte{'c', 'c', 'h', 'a', 'i', 'n', 't', 'e', 's', 't'})
+ testXChainID = ids.ID([32]byte{'t', 'e', 's', 't', 'x'})
+ nonExistentID = ids.ID([32]byte{'F'})
testTxFee = uint64(1000)
startBalance = uint64(50000)
testKeys []*crypto.PrivateKeySECP256K1R
testEthAddrs []common.Address // testEthAddrs[i] corresponds to testKeys[i]
testShortIDAddrs []ids.ShortID
- testAvaxAssetID = ids.NewID([32]byte{1, 2, 3})
+ testAvaxAssetID = [32]byte{1, 2, 3}
username = "Johns"
password = "CjasdjhiPeirbSenfeI13" // #nosec G101
ethChainID uint32 = 43112