Skip to content

Commit

Permalink
fix: use set compiler version
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahschwartz committed Oct 15, 2024
1 parent 72eaacd commit 66c9a4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions content/tutorials/frontend-paymaster/10.index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Finally, deploy the `Greeter` contract by running the template deploy script.
Make sure to save the deployed contract address for the next section.

:test-action{actionId="update-hh-config"}
:test-action{actionId="update-hh-config2"}
:test-action{actionId="env-pk"}
:test-action{actionId="deploy-greeter"}

Expand Down
7 changes: 7 additions & 0 deletions tests/configs/frontend-paymaster.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,13 @@ export const steps: IStepConfig = {
removeLines: [6],
useSetData: ' defaultNetwork: "inMemoryNode",',
},
'update-hh-config2': {
action: 'modifyFile',
filepath: 'tests-output/frontend-paymaster/contracts/hardhat.config.ts',
atLine: 35,
removeLines: [35],
useSetData: " version: '1.5.4',",
},
'deploy-greeter': {
action: 'runCommand',
commandFolder: 'tests-output/frontend-paymaster/contracts',
Expand Down

0 comments on commit 66c9a4a

Please sign in to comment.