Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update solidity pragmas #294

Merged
merged 6 commits into from
Oct 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = {
bracketSpacing: true,
// These options are specific to the Solidity Plugin
explicitTypes: 'always',
compiler: '0.8.13',
compiler: '0.8.17',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"files.trimTrailingWhitespace": true,
"solidity.packageDefaultDependenciesContractsDirectory": "contracts",
"solidity.packageDefaultDependenciesDirectory": "lib",
"solidity.compileUsingRemoteVersion": "v0.8.13",
"solidity.compileUsingRemoteVersion": "v0.8.17",
"solidity.formatter": "prettier"
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/attestationcollector/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package attestationcollector

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/AttestationCollector.sol --pkg attestationcollector --sol-version 0.8.13 --filename attestationcollector
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/AttestationCollector.sol --pkg attestationcollector --sol-version 0.8.17 --filename attestationcollector
40 changes: 20 additions & 20 deletions agents/contracts/destination/destination.abigen.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/destination/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Package destination generates abi data for contract Destination.sol
package destination

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/Destination.sol --pkg destination --sol-version 0.8.13 --filename destination
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/Destination.sol --pkg destination --sol-version 0.8.17 --filename destination
2 changes: 1 addition & 1 deletion agents/contracts/notarymanager/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package notarymanager

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/NotaryManager.sol --pkg notarymanager --sol-version 0.8.13 --filename notarymanager
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/NotaryManager.sol --pkg notarymanager --sol-version 0.8.17 --filename notarymanager
// last line must be null
42 changes: 21 additions & 21 deletions agents/contracts/notarymanager/notarymanager.abigen.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/origin/generate.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package origin

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/Origin.sol --pkg origin --sol-version 0.8.13 --filename origin
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../packages/contracts-core/flattened/Origin.sol --pkg origin --sol-version 0.8.17 --filename origin

// here we generate some interfaces we use in for our mocks. TODO this should be automated in abigen for all contracts + be condensed
//go:generate go run github.com/vburenin/ifacemaker -f origin.abigen.go -s OriginCaller -i IOriginCaller -p origin -o icaller_generated.go -c "autogenerated file"
Expand Down
40 changes: 20 additions & 20 deletions agents/contracts/origin/origin.abigen.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/origin/origin.contractinfo.json

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/test/attestationharness/generate.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package attestationharness generates abi data for contract AttestationHarness.sol
package attestationharness

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/AttestationHarness.sol --pkg attestationharness --sol-version 0.8.13 --filename attestationharness
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/AttestationHarness.sol --pkg attestationharness --sol-version 0.8.17 --filename attestationharness
// line after go:generate cannot be left blank

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion agents/contracts/test/destinationharness/generate.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package destinationharness generates abi data for contract DestinationHarness.sol
package destinationharness

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/DestinationHarness.sol --pkg destinationharness --sol-version 0.8.13 --filename destinationharness
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/DestinationHarness.sol --pkg destinationharness --sol-version 0.8.17 --filename destinationharness
// line after go:generate cannot be left blank
2 changes: 1 addition & 1 deletion agents/contracts/test/headerharness/generate.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package headerharness

//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/HeaderHarness.sol --pkg headerharness --sol-version 0.8.13 --filename headerharness
//go:generate go run github.com/synapsecns/sanguine/tools/abigen generate --sol ../../../../packages/contracts-core/flattened/HeaderHarness.sol --pkg headerharness --sol-version 0.8.17 --filename headerharness
// line after go:generate cannot be left blank
Loading