mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Use solc 0.8.26
`next` already does, and it's annoying to have to consistently switch between the two branches.
This commit is contained in:
@@ -44,8 +44,8 @@ runs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cargo +1.89 install svm-rs --version =0.5.18
|
cargo +1.89 install svm-rs --version =0.5.18
|
||||||
svm install 0.8.25
|
svm install 0.8.26
|
||||||
svm use 0.8.25
|
svm use 0.8.26
|
||||||
|
|
||||||
- name: Remove preinstalled Docker
|
- name: Remove preinstalled Docker
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ fn main() {
|
|||||||
{
|
{
|
||||||
if let Some(version) = line.strip_prefix("Version: ") {
|
if let Some(version) = line.strip_prefix("Version: ") {
|
||||||
let version = version.split('+').next().unwrap();
|
let version = version.split('+').next().unwrap();
|
||||||
assert_eq!(version, "0.8.25");
|
assert_eq!(version, "0.8.26");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ pub fn processor(
|
|||||||
if coin == "ethereum" {
|
if coin == "ethereum" {
|
||||||
r#"
|
r#"
|
||||||
RUN cargo install svm-rs
|
RUN cargo install svm-rs
|
||||||
RUN svm install 0.8.25
|
RUN svm install 0.8.26
|
||||||
RUN svm use 0.8.25
|
RUN svm use 0.8.26
|
||||||
"#
|
"#
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
|
|||||||
@@ -32,15 +32,7 @@ rustup toolchain install nightly
|
|||||||
rustup target add wasm32v1-none --toolchain nightly
|
rustup target add wasm32v1-none --toolchain nightly
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install Solidity
|
### Install Solidity with `svm`
|
||||||
|
|
||||||
```
|
|
||||||
cargo install svm-rs
|
|
||||||
svm install 0.8.25
|
|
||||||
svm use 0.8.25
|
|
||||||
```
|
|
||||||
|
|
||||||
### Install Solidity Compiler Version Manager
|
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install svm-rs
|
cargo install svm-rs
|
||||||
|
|||||||
Reference in New Issue
Block a user