Skip to content

Commit

Permalink
add tests for ots_getTransactionError (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
lupin012 authored May 24, 2024
1 parent f7cc46d commit e554bdb
Show file tree
Hide file tree
Showing 10 changed files with 160 additions and 0 deletions.
16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_01.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0xec080b91deea33830c3e626201662243c66c1f3d10da01f32c4cb0ebf395012a"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x849eaf98"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_02.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x55ae18a7de23db2aa60622dfac6ba5895c809e2d28adc4a1281dddc22359096f"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a5472616e73616374696f6e20616674657220656e642064617465000000000000"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_03.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x6ba9ed0a8c5a55abb299ae666322717008dd216cabe66d2311bc6cd92ee963d2"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a5472616e73616374696f6e20616674657220656e642064617465000000000000"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_04.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0xa68c025e9ffa7a53b6aa1776e1df8c434ca942b5257f4231e93577a0a37a6c7b"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_05.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x56e790ad97b44db95e00342338fa48d58efe66b5b382e57d2516d52c6230cf8a"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_06.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x56e790ad97b44db95e00342338fa48d58efe66b5b382e57d2516d52c6230cf8a"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_07.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x6949e79051705ea96e5b4d489a16ae3aef0b48a8a95d7a7efbee622cc19279f8"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_08.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0x763a6deb6734b2fcf6a68a627f7473dac6e8e1393a7bbd9b325bec63f10c99e5"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_09.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0xc1b35fdaddd6f58855633eada81cf983a228bb50c07d766dfdece8d5d674f557"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x08c379a000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000027556e69737761705632526f757465723a204558434553534956455f494e5055545f414d4f554e5400000000000000000000000000000000000000000000000000"
}
}
]

16 changes: 16 additions & 0 deletions integration/mainnet/ots_getTransactionError/test_10.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[
{
"request":{
"jsonrpc":"2.0",
"method":"ots_getTransactionError",
"params":["0xcfe6d609a4298923567605de9d3861a8ba6e47bc3be0a8f5740a9d40abe09801"],
"id":1
},
"response":{
"jsonrpc":"2.0",
"id":1,
"result":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002b556e69737761705632526f757465723a20494e53554646494349454e545f4f55545055545f414d4f554e54000000000000000000000000000000000000000000"
}
}
]

0 comments on commit e554bdb

Please sign in to comment.