Skip to content

Commit

Permalink
Update solidity pragmas (#294)
Browse files Browse the repository at this point in the history
* update pragma version in contracts

* update pragma versions in config

* update pragma version in agents

* regenerate agents

* update pragma vesrion in scribe (test contract)

* regenerate scribe
  • Loading branch information
ChiTimesChi authored Oct 23, 2022
1 parent eb25c55 commit 92d713c
Show file tree
Hide file tree
Showing 121 changed files with 253 additions and 252 deletions.
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.

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

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

0 comments on commit 92d713c

Please sign in to comment.