Skip to content

Commit

Permalink
fix code block in Domain Separator Compatibility decion in doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
CatspersCoffee committed Dec 17, 2024
1 parent 43238f0 commit 6581935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/src-16-typed-structured-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ pub struct EIP712Domain {
chain_id: u256,
verifying_contract: b256, // Only rightmost 20 bytes used
}
```

Note: When implementing EIP712 compatibility within SRC16, the verifying_contract address in the EIP712Domain must be constructed by taking only the rightmost 20 bytes from either a Fuel ContractId or Address. This ensures proper compatibility with Ethereum's 20-byte addressing scheme in the domain separator.

Expand Down

0 comments on commit 6581935

Please sign in to comment.