Skip to content

Commit beedc64

Browse files
committed
Update solc to 0.8.7
1 parent 2e25589 commit beedc64

4 files changed

Lines changed: 7 additions & 115 deletions

File tree

Cargo.lock

Lines changed: 2 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/test-utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ test-files = {path = "../test-files", package = "fe-test-files" }
1919
hex = "0.4"
2020
primitive-types = {version = "0.9", default-features = false, features = ["rlp"]}
2121
serde_json = "1.0.64"
22-
solc = {git = "https://github.com/g-r-a-n-t/solc-rust", rev = "fcb9105", optional = true}
22+
solc = {git = "https://github.com/g-r-a-n-t/solc-rust", rev = "da554b3", optional = true}
2323
yultsur = {git = "https://github.com/g-r-a-n-t/yultsur", rev = "ae85470"}
2424

2525
# used by ethabi, we need to force the js feature for wasm support

crates/yulc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/ethereum/fe"
99
[dependencies]
1010
fe-yulgen = {path = "../yulgen", version = "^0.11.0-alpha"}
1111
# This fork supports concurrent compilation, which is required for Rust tests.
12-
solc = { git = "https://github.com/g-r-a-n-t/solc-rust", rev = "fcb9105", optional = true}
12+
solc = { git = "https://github.com/g-r-a-n-t/solc-rust", rev = "da554b3", optional = true}
1313
serde_json = "1.0"
1414
indexmap = "1.6.2"
1515

crates/yulc/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,7 @@ fn test_solc_sanity() {
7272
.to_string()
7373
.replace("\"", "");
7474

75-
assert_eq!(bytecode, "6000600055", "incorrect bytecode",);
75+
// solc 0.8.4: push1 0; push1 0; sstore "6000600055"
76+
// solc 0.8.7: push1 0; dup1; sstore "60008055"
77+
assert_eq!(bytecode, "60008055", "incorrect bytecode",);
7678
}

0 commit comments

Comments
 (0)