Skip to content

Commit

Permalink
Merge pull request #41 from NilFoundation/sandbox-compiler-fix
Browse files Browse the repository at this point in the history
Fix sandbox compiler settings
  • Loading branch information
ukorvl authored Jan 29, 2025
2 parents 5d159b5 + 21d16a6 commit 70e4d16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion explorer_frontend/src/features/account-connector/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ createSmartAccountFx.use(async ({ privateKey, endpoint }) => {

await faucetClient.topUpAndWaitUntilCompletion(
{
smartAccount: smartAccount.address,
smartAccountAddress: smartAccount.address,
faucetAddress: faucets.NIL,
amount: 1e18,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export const createCompileInput = (contractBody: string, options: any = {}): obj
},
},
settings: {
metadata: { appendCBOR: false },
metadata: {
appendCBOR: false,
bytecodeHash: "none",
},
debug: {
debugInfo: ["location"],
},
Expand All @@ -48,6 +51,10 @@ export const createCompileInput = (contractBody: string, options: any = {}): obj
},
},
evmVersion: "cancun",
optimizer: {
enabled: false,
runs: 200,
},
...options,
},
};
Expand Down

0 comments on commit 70e4d16

Please sign in to comment.