Skip to content

Commit

Permalink
🪲 Fix wrong cheats (LayerZero-Labs#551)
Browse files Browse the repository at this point in the history
  • Loading branch information
janjakubnanista authored Apr 9, 2024
1 parent fce7f28 commit 984f65b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CHEATSHEET.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ const createContract = createConnectedContractFactory();

const eid = EndpointId.BST_MAINNET;

// We can ask for the contract by its name and eid
const contract = await createContract({ eid: address: '0x' })
// We can ask for the contract by its address and eid
const contract = await createContract({ eid, address: "0x" });

// Or its name
const contract = await createContract({ eid: contractName: 'MyOApp' })
// Or its name and eid
const contract = await createContract({ eid, contractName: "MyOApp" });
```

0 comments on commit 984f65b

Please sign in to comment.