locker-labs / locker-ui

https://app.locker.money
1 stars 0 forks source link

Detect status changes for outbound ETH txs #48

Open marvinmarnold opened 3 months ago

marvinmarnold commented 3 months ago

Outbound ETH transaction status not being detected.

Screenshot 2024-07-27 at 3 42 21 PM

Test:

marvinmarnold commented 3 months ago

This was added to dev and staging streams. It looks like updates are being received now.

Next step. Debug why not parsing updates correctly.

41ec6244261d98","transactionHash":"0x96cbae806e11e97a93de4eca0508e8a0d1f010ce3dc49d3e6a55d59b4893e686","triggered_by":["0x9d9855f14609ee3adce5a9592e2006e62d4db2ea"]}],"nativeBalances":[],"nftApprovals":{"ERC1155":[],"ERC721":[]},"nftTokenApprovals":[],"nftTransfers":[],"retries":0,"streamId":"fa513452-f75f-4d95-9df2-8ff29eecc348","tag":"staging","txs":[{"fromAddress":"0x4337003fcd2f56de3977ccb806383e9161628d0e","gas":"337198","gasPrice":"10060000","hash":"0x96cbae806e11e97a93de4eca0508e8a0d1f010ce3dc49d3e6a55d59b4893e686","input":"0x765e827f00000000000000000000000000000000000000000000000000000000000000400000000000000000000000004337003fcd2f56de3977ccb806383e9161628d0e000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009d9855f14609ee3adce5a9592e2006e62d4db2ea00022305dd9c0000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000002706f00000000000000000000000000014432000000000000000000000000000000000000000000000000000000000001dc780000000000000000000000000000ea6000000000000000000000000000b71b0000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a4e9ae5c530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000387c104a8fd81297fbfdf8edc1d234cbadac7b60a500000000000000000000000000000000000000000000000000000004a817c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b59d0021a869f1ed3a661ffe8c9b41ec6244261d9800000000000000000000000000005528000000000000000000000000000000010000000000000000000000000000000000000000000000000000000066aaedf30000000000000000000000000000000000000000000000000000000000000000f7d4c0e2c8f18c4189bbe8a93d6fc0b6ae0c5c5e4337b5f0b575dc0767be9c12409514274a028eb00545894b0bb7be9b8f5776aa83c5c462dbfddb08e841a0291b00000000000000000000000000000000000000000000000000000000000000000000000000000000000042ffe94d5211110d25a8ceef8578ae676b056c415c01ddf38421e6ce00b771faf873638f45da74486004dece1de8bdc0c3658cdc513a993b546b80fe51b2eec9ce851b000000000000000000000000000000000000000000000000000000000000","nonce":"134060","r":"111879020655400405575039755682698211784068267969370608603545945052724213125193","receiptContractAddress":null,"receiptCumulativeGasUsed":"237598","receiptGasUsed":"237598","receiptRoot":null,"receiptStatus":"1","s":"42701036918068689910437417315161649232531053208024921888338953151135163680405","toAddress":"0x0000000071727de22e5e9d8baf0edac6f37da032","transactionIndex":"1","triggered_by":["0x9d9855f14609ee3adce5a9592e2006e62d4db2ea"],"type":"2","v":"1","value":"0"}],"txsInternal":[{"from":"0x9d9855f14609ee3adce5a9592e2006e62d4db2ea","gas":"69205","internalTransactionIndex":"0","to":"0x7c104a8fd81297fbfdf8edc1d234cbadac7b60a5","transactionHash":"0x96cbae806e11e97a93de4eca0508e8a0d1f010ce3dc49d3e6a55d59b4893e686","triggered_by":["0x9d9855f14609ee3adce5a9592e2006e62d4db2ea"],"value":"20000000000"},{"from":"0x0000000071727de22e5e9d8baf0edac6f37da032","gas":"95503","internalTransactionIndex":"1","to":"0x4337003fcd2f56de3977ccb806383e9161628d0e","transactionHash":"0x96cbae806e11e97a93de4eca0508e8a0d1f010ce3dc49d3e6a55d59b4893e686","triggered_by":["0x9d9855f14609ee3adce5a9592e2006e62d4db2ea"],"value":"2516569360000"}]}
error: undefined
info: 127.0.0.1 - - [01/Aug/2024:01:58:17 +0000] "POST /integrations/moralis/webhooks/transactions HTTP/1.1" 200 - "-" "axios/0.27.2"
bilgute commented 4 weeks ago

@marvinmarnold both of them were working properly. But little concerned about time until the tx is confirmed on Locker.