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 20:29:23 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
2bc880e372f2e7ce81114cc16f2e8c655dc5d593
serai/networks/ethereum/schnorr/build.rs

5 lines
194 B
Rust
Raw Normal View History

Dedicated crate for the Schnorr contract
2024-09-15 00:41:16 -04:00
fn main() {
Remove artifacts for serai-processor-ethereum-contracts
2024-09-15 12:04:57 -04:00
let artifacts_path = std::env::var("OUT_DIR").unwrap().to_string() + "/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: 32ms Template: 2ms
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