Logo
Explore Help
Sign In
absolutebi/serai
1
0
Fork 0
You've already forked serai
mirror of https://github.com/serai-dex/serai.git synced 2025-12-08 12:19:24 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
3cdc1536c5e6ea205c3586414ba69c91e256a97b
serai/networks/ethereum/schnorr/build.rs

5 lines
190 B
Rust
Raw Normal View History

Dedicated crate for the Schnorr contract
2024-09-15 00:41:16 -04:00
fn main() {
Remove unnecessary `to_string` for `clone`
2025-08-30 18:08:08 -04:00
let artifacts_path = std::env::var("OUT_DIR").unwrap().clone() + "/ethereum-schnorr-contract";
Remove the Sandbox contract If instead of intaking calls, we intake code, we can deploy a fresh contract which makes arbitrary calls *without* attempting to build our abstraction layer over the concept. This should have the same gas costs, as we still have one contract deployment. The new contract only has a constructor, so it should have no actual code and beat the Sandbox in that regard? We do have to call into ourselves to meter the gas, yet we already had to call into the deployed Sandbox to achieve that. Also re-defines the OutInstruction to include tokens, implements OutInstruction-specified gas amounts, bumps the Solidity version, and other such misc changes.
2024-09-15 05:56:57 -04:00
build_solidity_contracts::build(&[], "contracts", &artifacts_path).unwrap();
Dedicated crate for the Schnorr contract
2024-09-15 00:41:16 -04:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 71ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API