diff --git a/packages/contracts/src/deploy/Deploy.s.sol b/packages/contracts/src/deploy/Deploy.s.sol index 04dcea57..0e9104b7 100644 --- a/packages/contracts/src/deploy/Deploy.s.sol +++ b/packages/contracts/src/deploy/Deploy.s.sol @@ -26,6 +26,8 @@ contract Deploy is Script { DrawHandVerifier public drawHandVerifier; Game public game; DeckAirdrop public airdrop; + MockENSResolver public mockEnsResolver; + PlayerHandle public playerHandle; bool private doLog = true; @@ -53,6 +55,8 @@ contract Deploy is Script { bool noRandom = vm.envOr("NO_RANDOM", false); game = new Game(inventory, drawVerifier, playVerifier, drawHandVerifier, checkProofs, noRandom); airdrop = new DeckAirdrop(inventory); + mockEnsResolver = new MockENSResolver(); + playerHandle = new PlayerHandle(address(mockEnsResolver)); // initialize cardsCollection.setInventory(inventory); @@ -65,6 +69,7 @@ contract Deploy is Script { log("InventoryCardsCollection address", address(inventoryCardsCollection)); log("Game address", address(game)); log("DeckAirdrop address", address(airdrop)); + log("PlayerHandle address", address(playerHandle)); vm.stopBroadcast(); diff --git a/packages/webapp/src/deployment.ts b/packages/webapp/src/deployment.ts index a47e0173..ef23c22b 100644 --- a/packages/webapp/src/deployment.ts +++ b/packages/webapp/src/deployment.ts @@ -15,6 +15,7 @@ export interface Deployment { Game: Address DeckAirdrop: Address Multicall3: Address + PlayerHandle: Address } // NOTE: This silly `default` affair is required for running the e2e tests which cause