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

chore: upgrade to solidity 0.8.25 #2663

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion e2e/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion examples/minimal/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/foundry.toml
@@ -1,6 +1,6 @@
[profile.default]
# check all "WARNING:" comments before changing major solidity versions
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/gas-report/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/schema-type/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/store/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = true
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/world-modules/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/world/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = true
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion packages/world/gas-report.json
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Worth it 😆

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahahahaha 600 gas wow

Expand Up @@ -57,7 +57,7 @@
"file": "test/Factories.t.sol",
"test": "testCreate2Factory",
"name": "deploy contract via Create2",
"gasUsed": 4970818
"gasUsed": 4970003
},
{
"file": "test/Factories.t.sol",
Expand Down
2 changes: 1 addition & 1 deletion templates/phaser/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion templates/react-ecs/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion templates/react/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion templates/threejs/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion templates/vanilla/packages/contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down
2 changes: 1 addition & 1 deletion test/mock-game-contracts/foundry.toml
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.24"
solc = "0.8.25"
ffi = false
fuzz_runs = 256
optimizer = true
Expand Down