Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Latest commit

 

History

History
25 lines (13 loc) · 1.06 KB

compatibility.md

File metadata and controls

25 lines (13 loc) · 1.06 KB

ETH Compatibility

RPC compatibility

1. ZERO ADDRESS

Godwoken does not have the corresponding "zero address"(0x0000000000000000000000000000000000000000) concept, so Polyjuice won't be able to handle zero address as well.

Result

Transaction with zero address in from/to filed is not supported.

known issue: #246

Recommend workaround

  • if you are trying to use zero address as a black hole to burn ethers, you can use transfer function in CKB_ERC20_Proxy to send ethers to zero address. more info can be found in the above section Transfer Value From EOA To EOA.

2. GAS LIMIT

Godwoken limit the transaction execution resource in CKB-VM with Cycle Limit, we set the RPC_GAS_LIMIT to 50000000 for max compatibility with Ethereum toolchain, but the real gas limit you can use depends on such Cycle Limit.

EVM compatibility