1

Polygon has special “Sync-State” transactions added to the blocks https://polygonscan.com/address/0x0000000000000000000000000000000000000000 . Transaction hash returned by eth_getBlockByNumber does not match Keccak-256(RLP(nonce,gasPrice,gasLimit,to,value,data,v,r,s).

Do any of you have any insight on this?.

1 Answer 1

1

There is at most 1 state-sync transaction in one block. Polygon's geth clone bor computed the hash using the block-number, block-hash.

Concrete algorithm to compute hash is Keccak256(“matic-bor-receipt-” + block-number + block-hash).

Polygon team responded to my question at https://github.com/maticnetwork/bor/issues/411

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.