Skip to content

Commit

Permalink
consistent salt
Browse files Browse the repository at this point in the history
  • Loading branch information
holic committed Oct 17, 2024
1 parent a36939f commit c40cfd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/store/ts/storeSimulator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ describe("storeSimulator", async () => {
expect(calls).toMatchInlineSnapshot(`
[
"0xb591186e00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000005",
"0x298314fb74620000000000000000000000000000506f736974696f6e000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000aaadeca8087c6a96822fd24e6d906c4677a09f90000000000000000000000000000000000000000000000000000000000000000800000005000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"0x298314fb74620000000000000000000000000000506f736974696f6e000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000d622adbdeed85e1a3df183e08c0ba7503f720ca7000000000000000000000000000000000000000000000000000000000000000800000005000000050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
]
`);
});
Expand Down
2 changes: 1 addition & 1 deletion test-setup/mockGame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function deployMockGame(): Promise<Hex> {
"pnpm",
// skip build because its slow and we do it in global setup
// if we don't skip build here, it regenerates ABIs which cause the tests to re-run (because we import the ABI here), which re-runs this deploy...
["mud", "deploy", "--rpc", anvilRpcUrl, "--saveDeployment", "false", "--skipBuild"],
["mud", "deploy", "--rpc", anvilRpcUrl, "--salt", "0x", "--saveDeployment", "false", "--skipBuild"],
{
cwd: `${__dirname}/../test/mock-game-contracts`,
env: {
Expand Down

0 comments on commit c40cfd1

Please sign in to comment.