Skip to content

Commit 7d78bc7

Browse files
committed
chore: fix README
1 parent a6a4e9a commit 7d78bc7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ async function callPrecompile(type: { address: string; name: string }, data: str
109109
callPrecompile(precompileType, inputData);
110110
```
111111

112+
We can check that "0x47617465776179" is Gateway by using any UTF-8 encoder (e.g. https://mothereff.in/utf-8)
113+
112114
### Run It
113115

114116
```bash
@@ -121,6 +123,8 @@ npx hardhat run scripts/callRawPrecompile.ts
121123
SHA256 result for 0x47617465776179 is: 0x41ed52921661c7f0d68d92511589cc9d7aaeab2b5db49fb27f0be336cbfdb7df
122124
```
123125

126+
We can check Gateway is 0x41ed52921661c7f0d68d92511589cc9d7aaeab2b5db49fb27f0be336cbfdb7df by using any SHA-256 encrypter (e.g. https://10015.io/tools/sha256-encrypt-decrypt)
127+
124128
---
125129

126130
## Stage 2 – Contract Wrapper Deployment
@@ -217,7 +221,7 @@ e.g.
217221
curl -X POST http://127.0.0.1:54906 -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x6c72118a1d379215224c9c50b93ac98ef1249d646c7747e116e843d9b57c6cb7"],"id":1}'
218222
```
219223

220-
✅ Look for `"status":"0x1"`.
224+
✅ Look for `"status":"0x1"`. It indicates the transaction was successful and finalized on-chain
221225

222226
#### 2. Verify Contract Bytecode Exists
223227

@@ -232,7 +236,7 @@ e.g.
232236
```
233237

234238

235-
✅ Should return non-empty `"result": "0x..."`.
239+
✅ Should return non-empty `"result": "0x..."`. A non-empty "result" means the contract was successfully deployed, and EVM bytecode is stored at the address.
236240

237241
---
238242

0 commit comments

Comments
 (0)