Skip to content

Commit

Permalink
chore: update 4bytes db test
Browse files Browse the repository at this point in the history
  • Loading branch information
trungnt1811 committed Sep 5, 2023
1 parent 8e78a18 commit e88580d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 4bytes_db_update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ func TestUpdate4Bytes(t *testing.T) {
assert.Equal(util.GetMethodNameFromMethodId("0xecd5ff33"), "setProgramTime")
assert.Equal(util.GetMethodNameFromMethodId("0xbe739356"), "sendReward")
assert.Equal(util.GetMethodNameFromMethodId("0x743cec2d"), "exchangeWithValue")
assert.Equal(util.GetMethodNameFromMethodId("0x1482dcda"), "mintCoupons")

data := "0q7S1gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGSWzhIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQVbZvQpCuU8VUVDSeyAd243bdr5ljiPA3bK7aUm/VuQVdhajtudaHAI7ltLe1GHQeZchiXxaXAq2Ez+6ErCpJRscAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
signature := util.GetMethodNameFromData(data)
Expand Down

0 comments on commit e88580d

Please sign in to comment.