Skip to content

Commit 8855575

Browse files
authored
chore(contracts): rename misc to xapps (#2997)
`misc` is an inadequate name for this directory, which has grown to hold XApps such as Pledge and now xBridge. `xapps` is much more fitting. issue: none
1 parent 1819fe4 commit 8855575

21 files changed

+5
-5
lines changed

contracts/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ install-deps: check-pnpm-version ## Install dependencies.
2020
(cd avs && pnpm install --frozen-lockfile)
2121
(cd core && pnpm install --frozen-lockfile)
2222
(cd solve && pnpm install --frozen-lockfile)
23-
(cd misc && pnpm install --frozen-lockfile)
23+
(cd xapps && pnpm install --frozen-lockfile)
2424
go install github.com/ethereum/go-ethereum/cmd/[email protected]
2525

2626
.PHONY: build
2727
build: version ## Build contracts.
2828
forge build --force --root core
2929
forge build --force --root avs
3030
forge build --force --root solve
31-
forge build --force --root misc
31+
forge build --force --root xapps
3232

3333
.PHONY: all
3434
all: install-deps build bindings allocs ## Build contracts, generate bindings and predeploy allocations.
@@ -44,14 +44,14 @@ SOLVE_CONTRACTS := ISolverNetBindings SolverNetInbox SolverNetOutbox SolverNetMi
4444

4545
AVS_CONTRACTS := OmniAVS DelegationManager StrategyManager StrategyBase AVSDirectory
4646

47-
MISC_CONTRACTS := Bridge Lockbox StablecoinUpgradeable StablecoinProxy
47+
XAPPS_CONTRACTS := Bridge Lockbox StablecoinUpgradeable StablecoinProxy
4848

4949
.PHONY: bindings
5050
bindings: check-abigen-version build ## Generate golang contract bindings.
5151
ROOT=./core ./bindings/scripts/gen.sh $(CORE_CONTRACTS)
5252
ROOT=./avs ./bindings/scripts/gen.sh $(AVS_CONTRACTS)
5353
ROOT=./solve ./bindings/scripts/gen.sh $(SOLVE_CONTRACTS)
54-
ROOT=./misc ./bindings/scripts/gen.sh $(MISC_CONTRACTS)
54+
ROOT=./xapps ./bindings/scripts/gen.sh $(XAPPS_CONTRACTS)
5555
go run ./bindings/scripts/commenttypes.go -- bindings/strategymanager.go IStrategyManagerDeprecatedStructQueuedWithdrawal IStrategyManagerDeprecatedStructWithdrawerAndNonce
5656
go run ./bindings/scripts/commenttypes.go -- bindings/avsdirectory.go ISignatureUtilsSignatureWithSaltAndExpiry
5757
go run ./bindings/scripts/commenttypes.go -- bindings/solvernetoutbox.go IERC7683FillInstruction IERC7683Output IERC7683ResolvedCrossChainOrder
File renamed without changes.
File renamed without changes.
File renamed without changes.

contracts/misc/package.json renamed to contracts/xapps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"license": "GPL-3.0-only",
33
"packageManager": "[email protected]",
4-
"repository": "https://github.com/omni-network/omni/tree/main/contracts/misc",
4+
"repository": "https://github.com/omni-network/omni/tree/main/contracts/xapps",
55
"scripts": {
66
"test": "forge test"
77
},
File renamed without changes.

0 commit comments

Comments
 (0)