Skip to content

Commit

Permalink
refactor(repo): unify to bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
drahnr committed Feb 7, 2025
1 parent 4000d02 commit 6e28ee7
Show file tree
Hide file tree
Showing 41 changed files with 43 additions and 31,887 deletions.
2 changes: 1 addition & 1 deletion contracts/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
out/* linguist-generated=true
binding/* linguist-generated=true
bindings/* linguist-generated=true
5 changes: 2 additions & 3 deletions contracts/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ crytic-export/
.env
broadcast/
out/
binding/src

node_modules

Expand All @@ -22,7 +21,7 @@ deployments.json
scripts/*.out
scripts/deploy-registry.ts
scripts/deploy-gateway.ts
binding/target
bindings/target
subnet.registry.json
subnet.actor.json

Expand All @@ -38,4 +37,4 @@ report.json
*.un~

## Licenses are picked up from the root when packing the npm package.
LICENSE-*
LICENSE-*
2 changes: 1 addition & 1 deletion contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ compile-abi: node_modules | forge
./ops/compile-abi.sh $(OUTPUT)

rust-binding:
OUTPUT=$(OUTPUT) cargo build --locked --release --manifest-path ../crates/binding/Cargo.toml -p ipc_actors_abis
OUTPUT=$(OUTPUT) cargo build --locked --release --manifest-path ../crates/bindings/Cargo.toml -p ipc_actors_abis

# ==============================================================================
# Running security checks within the local computer
Expand Down
6 changes: 3 additions & 3 deletions crates/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
resolver = "2"
members = [
# contracts bindings
"binding",
"bindings",

# merkle
"patched_external/merkle-tree-rs",
Expand Down Expand Up @@ -183,7 +183,7 @@ ipc-wallet = { path = "ipc/wallet", features = ["with-ethers"] }
ipc_ipld_resolver = { path = "ipld/resolver" }
ipc-types = { path = "ipc/types" }
ipc-observability = { path = "ipc/observability" }
ipc_actors_abis = { path = "binding" }
ipc_actors_abis = { path = "bindings" }
fendermint_actors_api = { path = "client/actors/api" }

# Vendored for cross-compilation, see https://github.com/cross-rs/cross/wiki/Recipes#openssl
Expand All @@ -194,7 +194,7 @@ openssl = { version = "0.10", features = ["vendored"] }

# NOTE: When upgrading the FVM it may cause our client/actors/build.rs to fail as it can
# pull in crates as transitive dependencies that do not support Wasm architector. If this
# happens, try removing "crypto" feature from fvm_shared dependency in contracts/binding/Cargo.toml
# happens, try removing "crypto" feature from fvm_shared dependency in contracts/bindings/Cargo.toml
# and run `cargo build`. Then add the "crypto" feature back and run `cargo build` again.
fvm = { version = "4.4.0", features = [
"verify-signature",
Expand Down
2,291 changes: 0 additions & 2,291 deletions crates/binding/src/checkpointing_facet.rs

This file was deleted.

1,217 changes: 0 additions & 1,217 deletions crates/binding/src/diamond_cut_facet.rs

This file was deleted.

583 changes: 0 additions & 583 deletions crates/binding/src/diamond_loupe_facet.rs

This file was deleted.

1,568 changes: 0 additions & 1,568 deletions crates/binding/src/gateway_diamond.rs

This file was deleted.

3,653 changes: 0 additions & 3,653 deletions crates/binding/src/gateway_getter_facet.rs

This file was deleted.

1,797 changes: 0 additions & 1,797 deletions crates/binding/src/gateway_manager_facet.rs

This file was deleted.

1,172 changes: 0 additions & 1,172 deletions crates/binding/src/gateway_messenger_facet.rs

This file was deleted.

168 changes: 0 additions & 168 deletions crates/binding/src/i_diamond.rs

This file was deleted.

63 changes: 0 additions & 63 deletions crates/binding/src/lib.rs

This file was deleted.

Loading

0 comments on commit 6e28ee7

Please sign in to comment.