Skip to content

Commit

Permalink
added all corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
faytey committed Jul 3, 2024
1 parent 545c075 commit 540287c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/contracts/src/deploy/Deploy.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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);
Expand All @@ -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();

Expand Down
1 change: 1 addition & 0 deletions packages/webapp/src/deployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 540287c

Please sign in to comment.