Skip to content

Commit 7676b00

Browse files
committed
refactor(repo): unify to bindings
1 parent 4000d02 commit 7676b00

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+43
-31887
lines changed

contracts/.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
out/* linguist-generated=true
2-
binding/* linguist-generated=true
2+
bindings/* linguist-generated=true

contracts/.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ crytic-export/
66
.env
77
broadcast/
88
out/
9-
binding/src
109

1110
node_modules
1211

@@ -22,7 +21,7 @@ deployments.json
2221
scripts/*.out
2322
scripts/deploy-registry.ts
2423
scripts/deploy-gateway.ts
25-
binding/target
24+
bindings/target
2625
subnet.registry.json
2726
subnet.actor.json
2827

@@ -38,4 +37,4 @@ report.json
3837
*.un~
3938

4039
## Licenses are picked up from the root when packing the npm package.
41-
LICENSE-*
40+
LICENSE-*

contracts/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ compile-abi: node_modules | forge
4949
./ops/compile-abi.sh $(OUTPUT)
5050

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

5454
# ==============================================================================
5555
# Running security checks within the local computer

crates/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
resolver = "2"
33
members = [
44
# contracts bindings
5-
"binding",
5+
"bindings",
66

77
# merkle
88
"patched_external/merkle-tree-rs",
@@ -183,7 +183,7 @@ ipc-wallet = { path = "ipc/wallet", features = ["with-ethers"] }
183183
ipc_ipld_resolver = { path = "ipld/resolver" }
184184
ipc-types = { path = "ipc/types" }
185185
ipc-observability = { path = "ipc/observability" }
186-
ipc_actors_abis = { path = "binding" }
186+
ipc_actors_abis = { path = "bindings" }
187187
fendermint_actors_api = { path = "client/actors/api" }
188188

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

195195
# NOTE: When upgrading the FVM it may cause our client/actors/build.rs to fail as it can
196196
# pull in crates as transitive dependencies that do not support Wasm architector. If this
197-
# happens, try removing "crypto" feature from fvm_shared dependency in contracts/binding/Cargo.toml
197+
# happens, try removing "crypto" feature from fvm_shared dependency in contracts/bindings/Cargo.toml
198198
# and run `cargo build`. Then add the "crypto" feature back and run `cargo build` again.
199199
fvm = { version = "4.4.0", features = [
200200
"verify-signature",

crates/binding/src/checkpointing_facet.rs

Lines changed: 0 additions & 2291 deletions
This file was deleted.

crates/binding/src/diamond_cut_facet.rs

Lines changed: 0 additions & 1217 deletions
This file was deleted.

crates/binding/src/diamond_loupe_facet.rs

Lines changed: 0 additions & 583 deletions
This file was deleted.

crates/binding/src/gateway_diamond.rs

Lines changed: 0 additions & 1568 deletions
This file was deleted.

crates/binding/src/gateway_getter_facet.rs

Lines changed: 0 additions & 3653 deletions
This file was deleted.

crates/binding/src/gateway_manager_facet.rs

Lines changed: 0 additions & 1797 deletions
This file was deleted.

0 commit comments

Comments
 (0)