Skip to content

Commit

Permalink
update solidity version
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Feb 3, 2023
1 parent e242081 commit 94b6211
Show file tree
Hide file tree
Showing 33 changed files with 144 additions and 171 deletions.
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"rules": {
"mark-callable-contracts": "off",
"no-empty-blocks": "off",
"compiler-version": ["error", "0.8.15"],
"compiler-version": ["error", "0.8.17"],
"private-vars-leading-underscore": "error",
"bracket-align": "off",
"reason-string": "off",
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"editor.formatOnSave": false,
"solidity.linter": "solhint",
"solidity.compileUsingRemoteVersion": "v0.8.15+commit.e14f2714"
"solidity.compileUsingRemoteVersion": "v0.8.17+commit.e14f2714"
}
4 changes: 2 additions & 2 deletions compiled-contracts/ERC20PermitMock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMGlobalExitRoot.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
"type": "function"
}
],
"bytecode": "0x60c060405234801561001057600080fd5b5060405161038e38038061038e83398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102c76100c76000396000818160d90152610186015260008181610118015261014a01526102c76000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c806301fd904414610072578063257b36321461008e578063319cf735146100ae57806333d6247d146100b75780633ed691ef146100cc5780635ec6a8df146100d4578063a3c573eb14610113575b600080fd5b61007b60005481565b6040519081526020015b60405180910390f35b61007b61009c366004610278565b60026020526000908152604090205481565b61007b60015481565b6100ca6100c5366004610278565b61013a565b005b61007b610237565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610085565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361017c57506001829055816101d2565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101b95760008390558291506101d2565b60405163b49365dd60e01b815260040160405180910390fd5b60006101de828461024c565b600081815260026020526040812054919250036102315760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b600061024760015460005461024c565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b60006020828403121561028a57600080fd5b503591905056fea2646970667358221220a1202e4dc75e2a580c5673ce7a49000756a840cba2d367cf90df0bc7e3f3869d64736f6c634300080f0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061006d5760003560e01c806301fd904414610072578063257b36321461008e578063319cf735146100ae57806333d6247d146100b75780633ed691ef146100cc5780635ec6a8df146100d4578063a3c573eb14610113575b600080fd5b61007b60005481565b6040519081526020015b60405180910390f35b61007b61009c366004610278565b60026020526000908152604090205481565b61007b60015481565b6100ca6100c5366004610278565b61013a565b005b61007b610237565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610085565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361017c57506001829055816101d2565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101b95760008390558291506101d2565b60405163b49365dd60e01b815260040160405180910390fd5b60006101de828461024c565b600081815260026020526040812054919250036102315760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b600061024760015460005461024c565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b60006020828403121561028a57600080fd5b503591905056fea2646970667358221220a1202e4dc75e2a580c5673ce7a49000756a840cba2d367cf90df0bc7e3f3869d64736f6c634300080f0033",
"bytecode": "0x60c060405234801561001057600080fd5b5060405161038e38038061038e83398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516102c76100c76000396000818160d90152610186015260008181610118015261014a01526102c76000f3fe608060405234801561001057600080fd5b506004361061006d5760003560e01c806301fd904414610072578063257b36321461008e578063319cf735146100ae57806333d6247d146100b75780633ed691ef146100cc5780635ec6a8df146100d4578063a3c573eb14610113575b600080fd5b61007b60005481565b6040519081526020015b60405180910390f35b61007b61009c366004610278565b60026020526000908152604090205481565b61007b60015481565b6100ca6100c5366004610278565b61013a565b005b61007b610237565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610085565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361017c57506001829055816101d2565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101b95760008390558291506101d2565b60405163b49365dd60e01b815260040160405180910390fd5b60006101de828461024c565b600081815260026020526040812054919250036102315760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b600061024760015460005461024c565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b60006020828403121561028a57600080fd5b503591905056fea2646970667358221220d7edbc791a0cab2797e0e001b4d760f8a7599400f180cb17a1179c66a18eb70664736f6c63430008110033",
"deployedBytecode": "0x608060405234801561001057600080fd5b506004361061006d5760003560e01c806301fd904414610072578063257b36321461008e578063319cf735146100ae57806333d6247d146100b75780633ed691ef146100cc5780635ec6a8df146100d4578063a3c573eb14610113575b600080fd5b61007b60005481565b6040519081526020015b60405180910390f35b61007b61009c366004610278565b60026020526000908152604090205481565b61007b60015481565b6100ca6100c5366004610278565b61013a565b005b61007b610237565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610085565b6100fb7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361017c57506001829055816101d2565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101b95760008390558291506101d2565b60405163b49365dd60e01b815260040160405180910390fd5b60006101de828461024c565b600081815260026020526040812054919250036102315760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b600061024760015460005461024c565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b60006020828403121561028a57600080fd5b503591905056fea2646970667358221220d7edbc791a0cab2797e0e001b4d760f8a7599400f180cb17a1179c66a18eb70664736f6c63430008110033",
"linkReferences": {},
"deployedLinkReferences": {}
}
4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMGlobalExitRootMock.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
"type": "function"
}
],
"bytecode": "0x60c060405234801561001057600080fd5b5060405161041b38038061041b83398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103536100c86000396000818161012201526101f001526000818161016101526101b401526103536000f3fe608060405234801561001057600080fd5b50600436106100835760003560e01c806301fd904414610088578063051a9e28146100a4578063257b3632146100b9578063319cf735146100d957806333d6247d146100e25780633ed691ef146100f55780635bcef673146100fd5780635ec6a8df1461011d578063a3c573eb1461015c575b600080fd5b61009160005481565b6040519081526020015b60405180910390f35b6100b76100b23660046102e2565b610183565b005b6100916100c73660046102e2565b60026020526000908152604090205481565b61009160015481565b6100b76100f03660046102e2565b6101a4565b6100916102a1565b6100b761010b3660046102fb565b60009182526002602052604090912055565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161009b565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b80600260006101906102a1565b815260208101919091526040016000205550565b6000546001546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101e6575060018290558161023c565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361022357600083905582915061023c565b60405163b49365dd60e01b815260040160405180910390fd5b600061024882846102b6565b6000818152600260205260408120549192500361029b5760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b60006102b16001546000546102b6565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000602082840312156102f457600080fd5b5035919050565b6000806040838503121561030e57600080fd5b5050803592602090910135915056fea26469706673582212206028a63f0994818602c56b70284be6f7c153d79c3070aa1f572cf124b74d477c64736f6c634300080f0033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100835760003560e01c806301fd904414610088578063051a9e28146100a4578063257b3632146100b9578063319cf735146100d957806333d6247d146100e25780633ed691ef146100f55780635bcef673146100fd5780635ec6a8df1461011d578063a3c573eb1461015c575b600080fd5b61009160005481565b6040519081526020015b60405180910390f35b6100b76100b23660046102e2565b610183565b005b6100916100c73660046102e2565b60026020526000908152604090205481565b61009160015481565b6100b76100f03660046102e2565b6101a4565b6100916102a1565b6100b761010b3660046102fb565b60009182526002602052604090912055565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161009b565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b80600260006101906102a1565b815260208101919091526040016000205550565b6000546001546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101e6575060018290558161023c565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361022357600083905582915061023c565b60405163b49365dd60e01b815260040160405180910390fd5b600061024882846102b6565b6000818152600260205260408120549192500361029b5760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b60006102b16001546000546102b6565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000602082840312156102f457600080fd5b5035919050565b6000806040838503121561030e57600080fd5b5050803592602090910135915056fea26469706673582212206028a63f0994818602c56b70284be6f7c153d79c3070aa1f572cf124b74d477c64736f6c634300080f0033",
"bytecode": "0x60c060405234801561001057600080fd5b5060405161041b38038061041b83398101604081905261002f91610062565b6001600160a01b0391821660a05216608052610095565b80516001600160a01b038116811461005d57600080fd5b919050565b6000806040838503121561007557600080fd5b61007e83610046565b915061008c60208401610046565b90509250929050565b60805160a0516103536100c86000396000818161012201526101f001526000818161016101526101b401526103536000f3fe608060405234801561001057600080fd5b50600436106100835760003560e01c806301fd904414610088578063051a9e28146100a4578063257b3632146100b9578063319cf735146100d957806333d6247d146100e25780633ed691ef146100f55780635bcef673146100fd5780635ec6a8df1461011d578063a3c573eb1461015c575b600080fd5b61009160005481565b6040519081526020015b60405180910390f35b6100b76100b23660046102e2565b610183565b005b6100916100c73660046102e2565b60026020526000908152604090205481565b61009160015481565b6100b76100f03660046102e2565b6101a4565b6100916102a1565b6100b761010b3660046102fb565b60009182526002602052604090912055565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161009b565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b80600260006101906102a1565b815260208101919091526040016000205550565b6000546001546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101e6575060018290558161023c565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361022357600083905582915061023c565b60405163b49365dd60e01b815260040160405180910390fd5b600061024882846102b6565b6000818152600260205260408120549192500361029b5760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b60006102b16001546000546102b6565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000602082840312156102f457600080fd5b5035919050565b6000806040838503121561030e57600080fd5b5050803592602090910135915056fea2646970667358221220a9b3467ce16e7a9dce42a5e7835e7340edba09f353830de464c091bc6587d88f64736f6c63430008110033",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100835760003560e01c806301fd904414610088578063051a9e28146100a4578063257b3632146100b9578063319cf735146100d957806333d6247d146100e25780633ed691ef146100f55780635bcef673146100fd5780635ec6a8df1461011d578063a3c573eb1461015c575b600080fd5b61009160005481565b6040519081526020015b60405180910390f35b6100b76100b23660046102e2565b610183565b005b6100916100c73660046102e2565b60026020526000908152604090205481565b61009160015481565b6100b76100f03660046102e2565b6101a4565b6100916102a1565b6100b761010b3660046102fb565b60009182526002602052604090912055565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161009b565b6101447f000000000000000000000000000000000000000000000000000000000000000081565b80600260006101906102a1565b815260208101919091526040016000205550565b6000546001546001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633036101e6575060018290558161023c565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016330361022357600083905582915061023c565b60405163b49365dd60e01b815260040160405180910390fd5b600061024882846102b6565b6000818152600260205260408120549192500361029b5760008181526002602052604080822042905551849184917f61014378f82a0d809aefaf87a8ac9505b89c321808287a6e7810f29304c1fce39190a35b50505050565b60006102b16001546000546102b6565b905090565b604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000602082840312156102f457600080fd5b5035919050565b6000806040838503121561030e57600080fd5b5050803592602090910135915056fea2646970667358221220a9b3467ce16e7a9dce42a5e7835e7340edba09f353830de464c091bc6587d88f64736f6c63430008110033",
"linkReferences": {},
"deployedLinkReferences": {}
}
Loading

0 comments on commit 94b6211

Please sign in to comment.