aboutsummaryrefslogtreecommitdiff
path: root/plugin/evm/vm_test.go
diff options
context:
space:
mode:
authorAaron Buchwald <[email protected]>2020-11-09 13:46:28 -0500
committerAaron Buchwald <[email protected]>2020-11-09 13:46:28 -0500
commitd7f430c196e0856eaaeedbfe1fcc30c1c472cd43 (patch)
tree6ceb8d94aa28c815b5b23b774038ad518518a7db /plugin/evm/vm_test.go
parent60eb1fdfa0e996f5564bbd9a17801ea9b7c9df1a (diff)
Clean up usage of ids.ID
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 d58fdda..020b663 100644
--- a/plugin/evm/vm_test.go
+++ b/plugin/evm/vm_test.go
@@ -23,14 +23,14 @@ import (
var (
testNetworkID uint32 = 10
- 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'})
+ testCChainID = ids.ID{'c', 'c', 'h', 'a', 'i', 'n', 't', 'e', 's', 't'}
+ testXChainID = ids.ID{'t', 'e', 's', 't', 'x'}
+ nonExistentID = ids.ID{'F'}
testTxFee = uint64(1000)
testKeys []*crypto.PrivateKeySECP256K1R
testEthAddrs []common.Address // testEthAddrs[i] corresponds to testKeys[i]
testShortIDAddrs []ids.ShortID
- testAvaxAssetID = [32]byte{1, 2, 3}
+ testAvaxAssetID = ids.ID{1, 2, 3}
username = "Johns"
password = "CjasdjhiPeirbSenfeI13" // #nosec G101
)