Skip to content

Commit

Permalink
tune some params for fitting arbitrium testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosma committed May 4, 2022
1 parent 30a9bf6 commit eaee1b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cli/ts/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ const publish = async (args: any) => {
tx = await pollContractEthers.publishMessage(
message.asContractParam(),
encKeypair.pubKey.asContractParam(),
{ gasLimit: 1000000 },
{ gasLimit: 10000000 },
)
await tx.wait()

Expand Down
13 changes: 7 additions & 6 deletions contracts/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ require('@nomiclabs/hardhat-ethers')
require('hardhat-artifactor')

module.exports = {
solidity: "0.7.2",
settings: {
optimizer: {
enabled: true,
runs: 200
solidity: {
version: "0.7.2",
settings: {
optimizer: {
enabled: true,
runs: 100
}
}

},
networks: {
hardhat: {
Expand Down

0 comments on commit eaee1b6

Please sign in to comment.