Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRAFT] Eigen Incredible Squaring Blueprint Integration Test #304

Closed
wants to merge 80 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
5d55fd2
Move executor to SDK
drewstone Aug 26, 2024
4bfe7bd
nit: make struct var public
drewstone Aug 26, 2024
9d035db
fix: fix crate paths for executor, change incredible-squaring avs
drewstone Aug 26, 2024
83972eb
fmt
drewstone Aug 26, 2024
c4fb791
Fix eigen event macro
drewstone Aug 26, 2024
603fe8b
Fix: SDK build fix, blueprint WIP
Tjemmmic Aug 27, 2024
bfe6cd0
Merge remote-tracking branch 'origin/drew/move-executor-to-sdk' into …
Tjemmmic Aug 27, 2024
275ed88
Fix: Blueprint build fixes and WIP
Tjemmmic Aug 28, 2024
a82ed1e
Merge branch 'refs/heads/main' into drew/move-executor-to-sdk
Tjemmmic Aug 28, 2024
3e62221
Deps: Cleanup and reorganize
Tjemmmic Aug 28, 2024
26d15cf
Fix: incredible-squaring-blueprint fixes WIP
Tjemmmic Aug 29, 2024
fe6f739
Fix: Blueprint Fix WIP
Tjemmmic Aug 29, 2024
5568658
Incredible Squaring Fixes
Tjemmmic Aug 30, 2024
545d3fb
WIP: EL Incredible Squaring and Tangle AVS Blueprints
Tjemmmic Sep 4, 2024
844d3e3
WIP: Adding BLS BN254 to Keystore and some refactoring
Tjemmmic Sep 4, 2024
f5e8690
Feat: Bls Bn254 added to keystore
Tjemmmic Sep 5, 2024
4f9f920
WIP: Getting Eigenlayer Incredible Squaring Blueprint working
Tjemmmic Sep 6, 2024
be5b9ef
WIP: Eigen IS AVS Blueprint
Tjemmmic Sep 11, 2024
06a12d9
Merge branch 'refs/heads/main' into drew/move-executor-to-sdk
Tjemmmic Sep 11, 2024
ee827b0
Debugging, post-merge Cleanup, and fixes
Tjemmmic Sep 11, 2024
390dfc0
Fixing merge conflicts and pulling in blueprint testing logic
Tjemmmic Sep 12, 2024
3f896b1
More cleanup and fixes
Tjemmmic Sep 12, 2024
684892d
Work on getting testing passing with testnet (#239)
tbraun96 Sep 12, 2024
0043c0b
Keystore and blueprint fixes for Eigen IS
Tjemmmic Sep 12, 2024
e070cba
Merge remote-tracking branch 'origin/drew/move-executor-to-sdk' into …
Tjemmmic Sep 12, 2024
6c649cd
fmt
Tjemmmic Sep 12, 2024
93db9fe
Cleanup and refactor
tbraun96 Sep 13, 2024
06e6328
pass proper args
tbraun96 Sep 13, 2024
5976ce3
WIP: Getting Eigen IS Blueprint Compiling
Tjemmmic Sep 13, 2024
dbbc1a8
continue debugging
tbraun96 Sep 13, 2024
a4e6bcd
Merge branch 'drew/move-executor-to-sdk' of https://github.com/webb-t…
tbraun96 Sep 13, 2024
d8e2b1a
pull in origin/HEAD
tbraun96 Sep 13, 2024
d0a6d0b
Sync
tbraun96 Sep 13, 2024
35afe91
Fix the test, it passes
tbraun96 Sep 13, 2024
cbe6186
Fix: Builds without errors
Tjemmmic Sep 13, 2024
c805443
Fix: Merge, cleanup, and addressing PR comments
Tjemmmic Sep 13, 2024
7461ad5
Merge remote-tracking branch 'origin/drew/move-executor-to-sdk' into …
Tjemmmic Sep 13, 2024
68c107e
Merge branch 'refs/heads/main' into drew/move-executor-to-sdk
Tjemmmic Sep 13, 2024
528a0fb
Fix: Pull in changes from main, resolve conflicts
Tjemmmic Sep 13, 2024
2c64dd1
Fix: Add Forge to Workflow
Tjemmmic Sep 14, 2024
e913725
Merge in Main and pull generic blueprint code into SDK
Tjemmmic Sep 16, 2024
abed344
Merge branch 'refs/heads/main' into drew/move-executor-to-sdk
Tjemmmic Sep 16, 2024
2feaf6d
Fix: Workflow fix
Tjemmmic Sep 16, 2024
ca3cb14
Fix: Additional Workflow Fix
Tjemmmic Sep 16, 2024
c4b4a2f
Fix: Workflow debugging
Tjemmmic Sep 16, 2024
f2ace9c
Fix: Workflow debugging
Tjemmmic Sep 16, 2024
c8f8cd9
Fix: More debugging of workflow
Tjemmmic Sep 16, 2024
5f1d93f
Debugging Foundry workflow installation
Tjemmmic Sep 16, 2024
92ec028
Fix: Forge install path fix
Tjemmmic Sep 16, 2024
0a219b6
Fix: Final workflow fix
Tjemmmic Sep 16, 2024
a7cb57b
Fix: Fix feature-related errors
Tjemmmic Sep 17, 2024
298bab8
Merge branch 'refs/heads/main' into drew/move-executor-to-sdk
Tjemmmic Sep 17, 2024
64d7975
Fix: no-std fixes and cleanup
Tjemmmic Sep 17, 2024
d0d3d58
Starting Eigen IS Blueprint Test
Tjemmmic Sep 17, 2024
d4ed6fd
Merge branch 'refs/heads/main' into donovan/eigen-blueprint-test
Tjemmmic Sep 18, 2024
843aba2
Debugging Eigen Incredible Squaring
Tjemmmic Sep 19, 2024
a9cb990
Fixes: Updating from alloy and eigensdk-rs, fixing configs for eigen
Tjemmmic Sep 24, 2024
fdd4a8a
nit: make struct var public
drewstone Aug 26, 2024
92b2805
Fix: Blueprint build fixes and WIP
Tjemmmic Aug 28, 2024
b63e6b2
Deps: Cleanup and reorganize
Tjemmmic Aug 28, 2024
ab42d53
Incredible Squaring Fixes
Tjemmmic Aug 30, 2024
0bf59bf
WIP: Adding BLS BN254 to Keystore and some refactoring
Tjemmmic Sep 4, 2024
1755edb
Debugging, post-merge Cleanup, and fixes
Tjemmmic Sep 11, 2024
4102b55
Fixing merge conflicts and pulling in blueprint testing logic
Tjemmmic Sep 12, 2024
a8561e8
More cleanup and fixes
Tjemmmic Sep 12, 2024
2639e31
Keystore and blueprint fixes for Eigen IS
Tjemmmic Sep 12, 2024
3c28aa0
Work on getting testing passing with testnet (#239)
tbraun96 Sep 12, 2024
3c92968
Fix: Merge, cleanup, and addressing PR comments
Tjemmmic Sep 13, 2024
0c59449
Sync
tbraun96 Sep 13, 2024
dffb5c4
Fix: Pull in changes from main, resolve conflicts
Tjemmmic Sep 13, 2024
47bd3c0
Merge in Main and pull generic blueprint code into SDK
Tjemmmic Sep 16, 2024
c4e5227
Fix: Fix feature-related errors
Tjemmmic Sep 17, 2024
aa2cc2b
Fix: no-std fixes and cleanup
Tjemmmic Sep 17, 2024
20360b8
Starting Eigen IS Blueprint Test
Tjemmmic Sep 17, 2024
0184814
Debugging Eigen Incredible Squaring
Tjemmmic Sep 19, 2024
5566d62
Merge remote-tracking branch 'origin/donovan/eigen-blueprint-test' in…
Tjemmmic Sep 24, 2024
ec5ff15
Fixes: Fix Macro errors and cleanup after rebase
Tjemmmic Sep 24, 2024
a25d108
Fixes: Eigen Event handler fix
Tjemmmic Sep 24, 2024
0bf0dbb
Merge branch 'refs/heads/main' into donovan/eigen-blueprint-test
Tjemmmic Sep 24, 2024
5bcd861
Fixes: Cleanup after merging in Main
Tjemmmic Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge in Main and pull generic blueprint code into SDK
Tjemmmic committed Sep 16, 2024
commit e913725d8bca75bfc692c9d7186765d64a01bf26
2 changes: 2 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

132 changes: 7 additions & 125 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -67,226 +67,108 @@ sp-runtime = { version = "39.0.0", default-features = false }
sc-utils = { version = "17.0.0", default-features = false }
sp-api = { version = "34.0.0", default-features = false }
sp-application-crypto = { version = "38.0.0", default-features = false }
sp-consensus = { version = "0.40.0", default-features = false }
sp-consensus-aura = { version = "0.40.0", default-features = false }
sp-consensus-grandpa = { version = "21.0.0", default-features = false }
sp-keyring = { version = "39.0.0", default-features = false }
sp-keystore = { version = "0.40.0", default-features = false }
sp-timestamp = { version = "34.0.0", default-features = false }
sp-blockchain = { version = "37.0.1", default-features = false }
sp-block-builder = { version = "34.0.0", default-features = false }
sp-version = { version = "37.0.0", default-features = false }
sp-externalities = { version = "0.29.0", default-features = false }
sp-arithmetic = { version = "26.0.0", default-features = false }
sp-test-primitives = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }
sp-tracing = { version = "17.0.0", default-features = false }
sp-runtime-interface = { version = "28.0.0", default-features = false }

sc-client-api = { version = "37.0.0", default-features = false }
sc-offchain = { version = "39.0.0", default-features = false }
sc-basic-authorship = { version = "0.44.0", default-features = false }
sc-consensus-aura = { version = "0.44.0", default-features = false }
sc-consensus-grandpa = { version = "0.29.1", default-features = false }
sc-executor = { version = "0.40.0", default-features = false }
sc-service = { version = "0.45.0", default-features = false }
sc-keystore = { version = "33.0.0", default-features = false }
sc-telemetry = { version = "24.0.0", default-features = false }
sc-transaction-pool-api = { version = "37.0.0", default-features = false }
sc-cli = { version = "0.46.0", default-features = false }
sc-consensus = { version = "0.43.0", default-features = false }
sc-transaction-pool = { version = "37.0.0", default-features = false }
sc-rpc-api = { version = "0.43.0", default-features = false }
sc-rpc-spec-v2 = { version = "0.44.0", default-features = false }
sc-block-builder = { version = "0.42.0", default-features = false }
parity-scale-codec = { version = "3.6.12", default-features = false }

prometheus-endpoint = { version = "0.17.0", package = "substrate-prometheus-endpoint", default-features = false }
substrate-test-runtime = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }
substrate-test-runtime-client = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }

substrate-build-script-utils = { version = "11.0.0", default-features = false }
pallet-im-online = { version = "36.0.0", default-features = false }
substrate-frame-rpc-system = { version = "38.0.0", default-features = false }
pallet-transaction-payment-rpc = { version = "40.0.0", default-features = false }
fork-tree = { version = "13.0.0", default-features = false }
scale-info = { version = "2.11.3", default-features = false }

frame-system = { version = "37.1.0", default-features = false }
frame-support = { version = "37.0.0", default-features = false }
frame-executive = { version = "37.0.0", default-features = false }

pallet-balances = { version = "38.0.0", default-features = false }
pallet-timestamp = { version = "36.0.0", default-features = false }
pallet-session = { version = "37.0.0", default-features = false }
pallet-staking = { version = "37.0.0" }
pallet-session-historical = { git = "https://github.com/paritytech/polkadot-sdk", branch = "release-polkadot-v1.7.0", default-features = false }
pallet-evm = { git = "https://github.com/paritytech/frontier.git", branch = "polkadot-v1.7.0", default-features = false }
sp-staking = { version = "34.0.0", default-features = false }
sp-npos-elections = { version = "34.0.0" }
sp-session = { version = "35.0.0" }

# ARK Libraries
ark-std = { version = "0.4.0", default-features = false, features = ["print-trace", "std"] }
ark-crypto-primitives = { version = "0.4.0", default-features = false }
ark-ff = { version = "0.4.2", default-features = false }
ark-poly = { version = "0.4.2", default-features = false }
ark-ec = { version = "0.4.2", default-features = false }
ark-relations = { version = "0.4.0", default-features = false }
ark-serialize = { version = "0.4.2", default-features = false, features = ["derive"] }
ark-groth16 = { version = "0.4.0", default-features = false }
ark-inner-products = { git = "https://github.com/arkworks-rs/ripp", default-features = false }
ark-circom = { git = "https://github.com/webb-tools/ark-circom.git", default-features = false }
# ARK curves
ark-bls12-381 = { version = "0.4", default-features = false, features = ["curve"] }
ark-bn254 = { version = "0.4", default-features = false, features = ["curve"] }
ark-secp256k1 = { version = "0.4", default-features = false }
ark-ed25519 = { version = "0.4", default-features = false }

aes-gcm = { version = "0.10", default-features = false, features = ["aes", "alloc", "getrandom", "zeroize"] }
anyhow = "1.0.86"
async-recursion2 = "1.0.5"
async-trait = "0.1.82"
auto_impl = "1.2.0"
aws-config = "1.5.5"
aws-types = "1.3.3"
aws-sdk-kms = "1.40.0"
aws-sdk-s3 = "1.45.0"
aws-sdk-secretsmanager = "1.43.0"
backoff = { version = "0.4.0", default-features = false }
base64 = "0.22.1"
bincode = "1.3.3"
bincode2 = { version = "2" }
byteorder = { version = "1.5.0", default-features = false }
bytes = "1.7.1"
chacha20poly1305 = "0.10.1"
cargo-generate = "0.21.3"
cfg-if = "1.0.0"
clap = "4.5.16"
clap-cargo = "0.14"
color-eyre = { version = "0.6", features = ["tracing-error", "color-spantrace"] }
derivation-path = "0.2.0"
ed25519-zebra = { version = "4" }
elliptic-curve = { version = "0.13.8" }
env_logger = "0.11.5"
escargot = "0.5.12"
ethereum-types = { version = "0.14.1", default-features = false }
failure = "0.1.8"
fs2 = "0.4"
futures = "0.3.30"
futures-timer = "3.0.3"
futures-util = "0.3.30"
getrandom = { version = "0.2.15", default-features = false }
hex = { version = "0.4.3", default-features = false }
hex-literal = "0.4.1"
http-body-util = "0.1.2"
hyper = { version = "1.4.1", default-features = false }
hyper-util = "0.1.7"
itertools = "0.13.0"
jsonrpsee = "0.24.3"
jsonwebtoken = "9.3.0"
k256 = { version = "0.13.3", default-features = false }
lazy_static = "1.5.0"
libp2p = { version = "0.54", default-features = false }
libsecp256k1 = "0.7.1"
linked-hash-map = { version = "0.5.6", default-features = false }
lock_api = "0.4.12"
log = "0.4.22"
multiaddr = { version = "0.18.1", default-features = false }
nix = { version = "0.29.0", features = ["process", "signal"] }
num-bigint = "0.4.6"
p256 = { version = "0.13.2", default-features = false }
parking_lot = "0.12.3"
picky-asn1-der = "0.5.0"
pin-project-lite = "0.2.14"
postcard = "1.0.9"
pretty_env_logger = "0.5.0"
proc-macro2 = "1.0"
prometheus = { version = "0.13.4", default-features = false }
quote = "1.0"
rand = { version = "0.8.5", default-features = false }
rand_chacha = { version = "0.3.1" }
rand_core = { version = "0.6", default-features = false }
rayon = { version = "1.10.0" }
regex = "1.10.6"
reqwest = "0.12.7"
rsa = "0.9.6"
rustdoc-types = "0.29.1"
schnorrkel = { version = "0.11.4", default-features = false, features = ["preaudit_deprecated", "getrandom"] }
scrypt = "0.11.0"
serde = { version = "1.0.208", default-features = false }
serde_bytes = { version = "0.11.15", default-features = false }
serde_json = "1.0"
sha2 = "0.10.8"
signature = "2.2.0"
sqlx = "=0.7.3"
starknet-crypto = "0.7.1"
structopt = "0.3.26"
strum = "0.26"
substrate-prometheus-endpoint = { version = "0.17.0", default-features = false }
syn = "2.0.75"
sysinfo = "0.31.2"
# TODO: Stop using this fork once https://github.com/dtolnay/thiserror/pull/304 lands
thiserror = { git = "https://github.com/quartiq/thiserror", branch = "no-std", default-features = false }
#thiserror = { version = "1.0.63", default-features = false }
tokio = { version = "1.39.3", default-features = false }
tokio-rustls = "0.26.0"
tokio-util = { version = "0.7.11", default-features = false }
toml = "0.8.19"
tracing = { version = "0.1", default-features = false }
tracing-core = { version = "0.1.32", default-features = false }
tracing-log = { version = "0.2", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false }
tracing-wasm = { version = "0.2.1" }
tree_magic_mini = "3.1.5"
spec_version = "0.1.0"
uuid = "1.10.0"
derive_more = { version = "1.0.0", features = ["display"] }
trybuild = "1.0"
tsify = "0.4.5"
typed-builder = "0.19"
# TODO: Stop using this fork once https://github.com/servo/rust-url/pull/831 lands
url = { git = "https://github.com/domenukk/rust-url", branch = "no_std", default-features = false }
uuid = "1.10.0"
w3f-bls = { version = "0.1.4", default-features = false }
zeroize = { version = "1", default-features = false, features = ["alloc", "zeroize_derive"] }

#anvil = { git = "https://github.com/foundry-rs/foundry.git" }
#foundry-common = { git = "https://github.com/foundry-rs/foundry.git" }
#revm = { version = "13.0.0", default-features = false }
alloy-chains = "0.1.27"
alloy-primitives = "0.7.7"
alloy-dyn-abi = "0.7.7"
alloy-json-abi = "0.7.7"
alloy-sol-types = "0.7.7"
alloy-rlp = "0.3.8"
alloy-trie = "0.4.1"
alloy-rpc-types = { version = "0.2.1" }
alloy-rpc-types-anvil = { version = "0.2.1" }
alloy-rpc-types-eth = { version = "0.2.1" }
alloy-rpc-types-trace = { version = "0.2.1" }
alloy-rpc-types-engine = { version = "0.2.1" }
alloy-genesis = { version = "0.2.1" }
alloy-node-bindings = { version = "0.2.1" }
alloy-provider = { version = "0.2.1", default-features = false, features = ["reqwest", "ws"] }
alloy-pubsub = { version = "0.2.1" }
alloy-transport-http = { version = "0.2.1" }
alloy-eips = { version = "0.2.1", default-features = false }
alloy-signer = { version = "0.2.1" }
alloy-signer-local = { version = "0.2.1" }
alloy-network = { version = "0.2.1" }
alloy-consensus = { version = "0.2.1" }
alloy-contract = { version = "0.2.1" }
alloy-transport = { version = "0.2.1" }
alloy-transport-ws = { version = "0.2.1" }
alloy-rpc-client = { version = "0.2.1" }

ark-bn254 = "0.4.0"
ark-ec = "0.4.0"
ark-ff = "0.4.0"
ark-std = "0.4.0"
ark-serialize = "0.4.0"

# WebAssembly
js-sys = "0.3.70"
serde-wasm-bindgen = "0.6.5"
sp-wasm-interface = { version = "21.0.0", default-features = false }
wasm-bindgen = "0.2.93"
wasm-bindgen-test = "0.3.43"
wasm-bindgen-futures = "0.4.43"
wasmer = { version = "4.3.5", default-features = false }
wasmtime = { version = "23.0.2", default-features = false }
wasmtimer = "0.2"
secp256k1 = "0.29.1"
1 change: 1 addition & 0 deletions blueprint-metadata/src/lib.rs
Original file line number Diff line number Diff line change
@@ -107,6 +107,7 @@ fn extract_hooks(krate: &Crate) -> Vec<Hook> {
extract_hooks_from_module(&krate.root, &krate.index, blueprint_crate)
}

/// Extract the `gadget` field from the rustdoc output.
fn extract_gadget<'a, T: AsRef<Path> + 'a>(blueprint_json_path: T) -> Gadget<'a> {
let json_string = unescape_json_string(
&std::fs::read_to_string(blueprint_json_path).expect("Failed to read blueprint.json file"),
29 changes: 0 additions & 29 deletions blueprints/aggregator-blueprint/.gitignore

This file was deleted.

22 changes: 0 additions & 22 deletions blueprints/aggregator-blueprint/Cargo.toml

This file was deleted.

24 changes: 0 additions & 24 deletions blueprints/aggregator-blueprint/LICENSE

This file was deleted.

57 changes: 0 additions & 57 deletions blueprints/aggregator-blueprint/README.md

This file was deleted.

Loading