Skip to content

Commit

Permalink
Fix typo and upgrade everywhere (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
waynehoover authored Nov 3, 2023
1 parent b4e8585 commit e6ef614
Show file tree
Hide file tree
Showing 32 changed files with 2,412 additions and 264 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@ Then to upgrade a contract, run one of the following commands:
`forge script script/Quest.s.sol:QuestDeploy --rpc-url sepolia --broadcast --verify -vvvv`
`forge script script/Quest.s.sol:Quest1155Deploy --rpc-url sepolia --broadcast --verify -vvvv`

or one command to run them all:
`echo "sepolia mainnet arbitrum optimism polygon base" | xargs -n 1 -I {} forge script script/QuestFactory.s.sol:QuestFactoryUpgrade --broadcast --verify -vvvv --rpc-url {}`
and for our mantle:
`forge script script/QuestFactory.s.sol:QuestFactoryUpgrade --broadcast --verify -vvvv --rpc-url mantle --legacy --verifier blockscout --
verifier-url "https://explorer.mantle.xyz/api?module=contract&action=verify"`

Note the extra options to use with mantel and scroll above.

---
Expand Down
54 changes: 54 additions & 0 deletions broadcast/QuestFactory.s.sol/1/run-1698977725.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/1/run-1698977744.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/1/run-1698977770.json

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions broadcast/QuestFactory.s.sol/1/run-latest.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1698977837.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1698977844.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/10/run-1698977861.json

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions broadcast/QuestFactory.s.sol/10/run-latest.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1698977457.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1698977464.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/11155111/run-1698977493.json

Large diffs are not rendered by default.

80 changes: 40 additions & 40 deletions broadcast/QuestFactory.s.sol/11155111/run-latest.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1698977880.json

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1698977887.json

Large diffs are not rendered by default.

145 changes: 145 additions & 0 deletions broadcast/QuestFactory.s.sol/137/run-1698977916.json

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions broadcast/QuestFactory.s.sol/137/run-latest.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/42161/run-1698977804.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/42161/run-1698977822.json

Large diffs are not rendered by default.

76 changes: 38 additions & 38 deletions broadcast/QuestFactory.s.sol/42161/run-latest.json

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions broadcast/QuestFactory.s.sol/5000/run-1698977341.json

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions broadcast/QuestFactory.s.sol/5000/run-1698977417.json

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions broadcast/QuestFactory.s.sol/5000/run-1698977429.json

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions broadcast/QuestFactory.s.sol/5000/run-1698977430.json

Large diffs are not rendered by default.

107 changes: 107 additions & 0 deletions broadcast/QuestFactory.s.sol/5000/run-1698977435.json

Large diffs are not rendered by default.

56 changes: 28 additions & 28 deletions broadcast/QuestFactory.s.sol/5000/run-latest.json

Large diffs are not rendered by default.

54 changes: 54 additions & 0 deletions broadcast/QuestFactory.s.sol/8453/run-1698977941.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/8453/run-1698977947.json

Large diffs are not rendered by default.

113 changes: 113 additions & 0 deletions broadcast/QuestFactory.s.sol/8453/run-1698977965.json

Large diffs are not rendered by default.

64 changes: 32 additions & 32 deletions broadcast/QuestFactory.s.sol/8453/run-latest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/QuestFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ contract QuestFactory is Initializable, LegacyStorage, OwnableRoles, IQuestFacto
'", "value": "', protocolPayout.toString(),
'"}, {"name": "mintPayout", "address": "', mintFeeRecipient_.toHexString(),
'", "value": "', mintPayout.toString(),
'"}, {"name": "refferrerPayout", "address": "', ref_.toHexString(),
'"}, {"name": "referrerPayout", "address": "', ref_.toHexString(),
'", "value": "', referrerPayout.toString(), '"}]}'
));
}
Expand Down
2 changes: 1 addition & 1 deletion test/QuestFactory.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ contract TestQuestFactory is Test, Errors, Events, TestUtils {
'", "value": "', (MINT_FEE / 3).toString(),
'"}, {"name": "mintPayout", "address": "', questCreator.toHexString(),
'", "value": "', (MINT_FEE / 3).toString(),
'"}, {"name": "refferrerPayout", "address": "', referrer.toHexString(),
'"}, {"name": "referrerPayout", "address": "', referrer.toHexString(),
'", "value": "', (MINT_FEE / 3).toString(), '"}]}'
));

Expand Down

0 comments on commit e6ef614

Please sign in to comment.