mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi: added commented out code
This commit is contained in:
parent
c878583ee7
commit
21b565e361
1 changed files with 5 additions and 5 deletions
|
|
@ -211,9 +211,9 @@ func TestEventTupleUnpack(t *testing.T) {
|
||||||
|
|
||||||
bigint := new(big.Int)
|
bigint := new(big.Int)
|
||||||
bigintExpected := big.NewInt(1000000)
|
bigintExpected := big.NewInt(1000000)
|
||||||
//bigintExpected2 := big.NewInt(2218516807680)
|
bigintExpected2 := big.NewInt(2218516807680)
|
||||||
//bigintExpected3 := big.NewInt(1000001)
|
bigintExpected3 := big.NewInt(1000001)
|
||||||
//addr := common.HexToAddress("0x00Ce0d46d924CC8437c806721496599FC3FFA268")
|
addr := common.HexToAddress("0x00Ce0d46d924CC8437c806721496599FC3FFA268")
|
||||||
var testCases = []struct {
|
var testCases = []struct {
|
||||||
data string
|
data string
|
||||||
dest interface{}
|
dest interface{}
|
||||||
|
|
@ -235,7 +235,7 @@ func TestEventTupleUnpack(t *testing.T) {
|
||||||
jsonEventTransfer,
|
jsonEventTransfer,
|
||||||
"",
|
"",
|
||||||
"Can unpack ERC20 Transfer event into slice",
|
"Can unpack ERC20 Transfer event into slice",
|
||||||
}, /* {
|
}, {
|
||||||
transferData1,
|
transferData1,
|
||||||
&EventTransferWithTag{},
|
&EventTransferWithTag{},
|
||||||
&EventTransferWithTag{Value1: bigintExpected},
|
&EventTransferWithTag{Value1: bigintExpected},
|
||||||
|
|
@ -328,7 +328,7 @@ func TestEventTupleUnpack(t *testing.T) {
|
||||||
jsonEventMixedCase,
|
jsonEventMixedCase,
|
||||||
"",
|
"",
|
||||||
"Can unpack abi variables with mixed case",
|
"Can unpack abi variables with mixed case",
|
||||||
}*/}
|
}}
|
||||||
|
|
||||||
for _, tc := range testCases {
|
for _, tc := range testCases {
|
||||||
assert := assert.New(t)
|
assert := assert.New(t)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue