Skip to content

Commit

Permalink
chore(oneinch_test): skip this test in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
tiennampham23 committed Dec 12, 2023
1 parent ef7a530 commit b3c3f0b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/parser/oneinch/oneinch_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
)

func TestFetchEvent(t *testing.T) {
t.Skip()
t.Skip("Need to add the rpc url that enables the trace call JSON-RPC")
p := MustNewParser(os.Getenv("RPC_URL"))
require.Equal(t, p.abi.Events[FilledEvent].ID, common.HexToHash("0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127"))
client, err := ethclient.Dial("https://ethereum.kyberengineering.io")
Expand All @@ -40,6 +40,7 @@ func TestFetchEvent(t *testing.T) {
}

func TestParseEvent(t *testing.T) {
t.Skip("Need to add the rpc url that enables the trace call JSON-RPC")
eventRaw := `{"address":"0x1111111254eeb25477b68fb85ed929f73a960582",
"topics":["0xc3b639f02b125bfa160e50739b8c44eb2d1b6908e2b6d5925c6d770f2ca78127"],
"data":"0x59c1fba2238e5e61f38c5860e11430b52c4dc7eb787b84dba76a8aff988ff7660000000000000000000000000000000000000000000000000000000015ebf670",
Expand All @@ -60,6 +61,7 @@ func TestParseEvent(t *testing.T) {
}

func TestParseOneinchTradeLog(t *testing.T) {
t.Skip("Need to add the rpc url that enables the trace call JSON-RPC")
p := MustNewParser(os.Getenv("RPC_URL"))

client, err := ethclient.Dial(os.Getenv("RPC_URL"))
Expand Down

0 comments on commit b3c3f0b

Please sign in to comment.