Skip to content

Commit

Permalink
docs: Update compatibility doc for zero address
Browse files Browse the repository at this point in the history
  • Loading branch information
classicalliu committed Mar 3, 2023
1 parent 05ce71c commit d86169f
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions web3/docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,7 @@

## 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
### 1. GAS LIMIT

Godwoken limit the transaction execution resource in CKB-VM with [Cycle Limit](https://docs-xi-two.vercel.app/docs/rfcs/0014-vm-cycle-limits/0014-vm-cycle-limits), 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.

Expand Down

0 comments on commit d86169f

Please sign in to comment.