mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 22:19:26 +00:00
Compare commits
5 Commits
f8adfb56ad
...
7d54c02ec6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7d54c02ec6 | ||
|
|
568324f631 | ||
|
|
eaa9a0e5a6 | ||
|
|
251996c1b0 | ||
|
|
98b9cc82a7 |
@@ -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
|
||||||
|
|||||||
2
.github/nightly-version
vendored
2
.github/nightly-version
vendored
@@ -1 +1 @@
|
|||||||
nightly-2025-08-01
|
nightly-2025-09-01
|
||||||
|
|||||||
10
.github/workflows/pages.yml
vendored
10
.github/workflows/pages.yml
vendored
@@ -46,16 +46,16 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@44511735964dcb71245e7e55f72539531f7bc0eb
|
||||||
with:
|
with:
|
||||||
bundler-cache: true
|
bundler-cache: true
|
||||||
cache-version: 0
|
cache-version: 0
|
||||||
working-directory: "${{ github.workspace }}/docs"
|
working-directory: "${{ github.workspace }}/docs"
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v3
|
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b
|
||||||
- name: Build with Jekyll
|
- name: Build with Jekyll
|
||||||
run: cd ${{ github.workspace }}/docs && bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
|
run: cd ${{ github.workspace }}/docs && bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
|
||||||
env:
|
env:
|
||||||
@@ -74,7 +74,7 @@ jobs:
|
|||||||
mv target/doc docs/_site/rust
|
mv target/doc docs/_site/rust
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
|
||||||
with:
|
with:
|
||||||
path: "docs/_site/"
|
path: "docs/_site/"
|
||||||
|
|
||||||
@@ -88,4 +88,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ pub fn musig<C: Ciphersuite>(
|
|||||||
}
|
}
|
||||||
let group_key = multiexp::multiexp(&multiexp);
|
let group_key = multiexp::multiexp(&multiexp);
|
||||||
debug_assert_eq!(our_pub_key, verification_shares[¶ms.i()]);
|
debug_assert_eq!(our_pub_key, verification_shares[¶ms.i()]);
|
||||||
debug_assert_eq!(musig_key_vartime::<C>(context, keys), Some(group_key));
|
debug_assert_eq!(musig_key_vartime::<C>(context, keys), Ok(group_key));
|
||||||
|
|
||||||
ThresholdKeys::new(
|
ThresholdKeys::new(
|
||||||
params,
|
params,
|
||||||
|
|||||||
@@ -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 {
|
||||||
""
|
""
|
||||||
|
|||||||
@@ -755,7 +755,7 @@ async fn main() {
|
|||||||
ExternalNetworkId::Ethereum => {
|
ExternalNetworkId::Ethereum => {
|
||||||
let relayer_hostname = env::var("ETHEREUM_RELAYER_HOSTNAME")
|
let relayer_hostname = env::var("ETHEREUM_RELAYER_HOSTNAME")
|
||||||
.expect("ethereum relayer hostname wasn't specified")
|
.expect("ethereum relayer hostname wasn't specified")
|
||||||
.to_string();
|
.clone();
|
||||||
let relayer_port =
|
let relayer_port =
|
||||||
env::var("ETHEREUM_RELAYER_PORT").expect("ethereum relayer port wasn't specified");
|
env::var("ETHEREUM_RELAYER_PORT").expect("ethereum relayer port wasn't specified");
|
||||||
let relayer_url = relayer_hostname + ":" + &relayer_port;
|
let relayer_url = relayer_hostname + ":" + &relayer_port;
|
||||||
|
|||||||
@@ -32,26 +32,19 @@ 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
|
cargo install svm-rs
|
||||||
svm install 0.8.25
|
svm install 0.8.26
|
||||||
svm use 0.8.25
|
svm use 0.8.26
|
||||||
```
|
|
||||||
|
|
||||||
### Install Solidity Compiler Version Manager
|
|
||||||
|
|
||||||
```
|
|
||||||
cargo install svm-rs
|
|
||||||
svm install 0.8.25
|
|
||||||
svm use 0.8.25
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Install foundry (for tests)
|
### Install foundry (for tests)
|
||||||
|
|
||||||
```
|
```
|
||||||
cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge cast chisel anvil
|
curl -L https://foundry.paradigm.xyz | bash
|
||||||
|
foundryup
|
||||||
```
|
```
|
||||||
|
|
||||||
### Clone and Build Serai
|
### Clone and Build Serai
|
||||||
|
|||||||
Reference in New Issue
Block a user