Skip to content

Commit

Permalink
format testdata and clean up empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Apr 3, 2024
1 parent 268803c commit 1815f13
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
2 changes: 0 additions & 2 deletions e2e/e2etests/test_bitcoin_withdraw_invalid.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,8 @@ func WithdrawToInvalidAddress(r *runner.E2ERunner, amount *big.Int) {
}
receipt = utils.MustWaitForTxReceipt(r.Ctx, r.ZEVMClient, tx, r.Logger, r.ReceiptTimeout)
if receipt.Status == 1 {
fmt.Println("WithdrawToInvalidAddress panicing")
panic(fmt.Errorf("withdraw receipt status is successful for an invalid BTC address"))
}
fmt.Printf("WithdrawToInvalidAddress receipt status: %d\n", receipt.Status)
// stop mining
stop <- struct{}{}
}
Original file line number Diff line number Diff line change
@@ -1 +1,23 @@
{"Version":1,"TxIn":[{"PreviousOutPoint":{"Hash":[88,35,68,215,98,226,80,135,144,112,176,41,10,204,196,243,171,206,47,130,190,82,88,31,234,63,168,65,219,15,248,81],"Index":1},"SignatureScript":"SDBFAiEAtm10q/gt84o5QCkWsxouad5aqiEDgBd3h3ci/8tuDl4CIB9wKaSz2HDRhPKwkoXBbYqZwTD+8fhiZOolJcwvgV49ASED25w7Nl3+PHENu2OrUD2EmDvsdylmoWe0hSDOMtQvj04=","Witness":null,"Sequence":268435456}],"TxOut":[{"Value":1425000,"PkScript":"qRRdKyXqq2FtT8BTLay8+A2Un6cUTIc="},{"Value":19064706,"PkScript":"dqkUk2fpBSIxBUekNfA/gxxYw1RZ3KGIrA=="}],"LockTime":0}
{
"Version": 1,
"TxIn": [
{
"PreviousOutPoint": {
"Hash": [
88, 35, 68, 215, 98, 226, 80, 135, 144, 112, 176, 41, 10, 204, 196,
243, 171, 206, 47, 130, 190, 82, 88, 31, 234, 63, 168, 65, 219, 15,
248, 81
],
"Index": 1
},
"SignatureScript": "SDBFAiEAtm10q/gt84o5QCkWsxouad5aqiEDgBd3h3ci/8tuDl4CIB9wKaSz2HDRhPKwkoXBbYqZwTD+8fhiZOolJcwvgV49ASED25w7Nl3+PHENu2OrUD2EmDvsdylmoWe0hSDOMtQvj04=",
"Witness": null,
"Sequence": 268435456
}
],
"TxOut": [
{ "Value": 1425000, "PkScript": "qRRdKyXqq2FtT8BTLay8+A2Un6cUTIc=" },
{ "Value": 19064706, "PkScript": "dqkUk2fpBSIxBUekNfA/gxxYw1RZ3KGIrA==" }
],
"LockTime": 0
}

0 comments on commit 1815f13

Please sign in to comment.