diff --git a/CHANGELOG.md b/CHANGELOG.md index 50321d0d1..bdbefb7e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Chainlink-Starknet contains a number of projects, all individually versioned and - [@chainlink/starknet-gauntlet-ocr2](/packages-ts/starknet-gauntlet-ocr2/) - [@chainlink/starknet-gauntlet-oz](/packages-ts/starknet-gauntlet-oz/) - [@chainlink/starknet-gauntlet-argent](/packages-ts/starknet-gauntlet-argent/) -- [@chainlink/starknet-gauntlet-starkgate](/packages-ts/starknet-gauntlet-starkgate/) +- [@chainlink/starknet-gauntlet-token](/packages-ts/starknet-gauntlet-token/) - [@chainlink/starknet-contracts](/contracts/) - [@chainlink/starknet-integration-tests](/integration-tests/) diff --git a/Makefile b/Makefile index 243e0b4bc..c91229f57 100644 --- a/Makefile +++ b/Makefile @@ -245,7 +245,7 @@ test-integration-gauntlet: build-ts env-devnet-hardhat-down yarn test cd packages-ts/starknet-gauntlet-oz/ && \ yarn test - cd packages-ts/starknet-gauntlet-starkgate/ && \ + cd packages-ts/starknet-gauntlet-token/ && \ yarn test cd packages-ts/starknet-gauntlet-emergency-protocol/ && \ yarn test diff --git a/docs/gauntlet/README.md b/docs/gauntlet/README.md index cb95b33e7..dc05f6e2d 100644 --- a/docs/gauntlet/README.md +++ b/docs/gauntlet/README.md @@ -7,7 +7,7 @@ - [CLI](../../packages-ts/starknet-gauntlet-cli/README.md) - [Example Contract](../../packages-ts/starknet-gauntlet-example/README.md) - [OZ Contracts](../../packages-ts/starknet-gauntlet-oz/README.md) - - [Starkgate Contracts](../../packages-ts/starknet-gauntlet-starkgate/README.md) + - [Starkgate Contracts](../../packages-ts/starknet-gauntlet-token/README.md) - [Emergency Protocol Contracts](../../packages-ts/starknet-gauntlet-emergency-protocol/README.md) - [Argent Contracts](../../packages-ts/starknet-gauntlet-argent/README.md) - [OCR2 Contracts](../../packages-ts/starknet-gauntlet-ocr2/README.md) diff --git a/jest.config.ts b/jest.config.ts index ad63c25bf..9529342f9 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -30,7 +30,7 @@ const config: Config.InitialOptions = { projectConfig('starknet-gauntlet-multisig'), projectConfig('starknet-gauntlet-ocr2'), projectConfig('starknet-gauntlet-oz'), - projectConfig('starknet-gauntlet-starkgate'), + projectConfig('starknet-gauntlet-token'), projectConfig('starknet-gauntlet-emergency-protocol'), ], } diff --git a/packages-ts/starknet-gauntlet-cli/package.json b/packages-ts/starknet-gauntlet-cli/package.json index 3b5e3e1d6..6ba98e033 100644 --- a/packages-ts/starknet-gauntlet-cli/package.json +++ b/packages-ts/starknet-gauntlet-cli/package.json @@ -30,7 +30,7 @@ "@chainlink/starknet-gauntlet-argent": "*", "@chainlink/starknet-gauntlet-example": "*", "@chainlink/starknet-gauntlet-ocr2": "*", - "@chainlink/starknet-gauntlet-starkgate": "*", + "@chainlink/starknet-gauntlet-token": "*", "@chainlink/starknet-gauntlet-multisig": "*", "@chainlink/starknet-gauntlet-emergency-protocol": "*", "@chainlink/starknet-gauntlet-ledger": "*" diff --git a/packages-ts/starknet-gauntlet-cli/src/index.ts b/packages-ts/starknet-gauntlet-cli/src/index.ts index f5644d116..86e30974d 100644 --- a/packages-ts/starknet-gauntlet-cli/src/index.ts +++ b/packages-ts/starknet-gauntlet-cli/src/index.ts @@ -10,7 +10,7 @@ import { Commands as OZCommands } from '@chainlink/starknet-gauntlet-oz' import { L2Commands as L2StarkgateCommands, InspectionCommands as StarkgateInspectionCommands, -} from '@chainlink/starknet-gauntlet-starkgate' +} from '@chainlink/starknet-gauntlet-token' import { Commands as ArgentCommands } from '@chainlink/starknet-gauntlet-argent' import { L1Commands as L1EmergencyProtocolCommands, diff --git a/packages-ts/starknet-gauntlet-ledger/package.json b/packages-ts/starknet-gauntlet-ledger/package.json index 1390c4760..f4a354a4d 100644 --- a/packages-ts/starknet-gauntlet-ledger/package.json +++ b/packages-ts/starknet-gauntlet-ledger/package.json @@ -15,7 +15,7 @@ ], "scripts": { "lint": "tsc", - "test": "SKIP_PROMPTS=true jest --runInBand --config ../../jest.config.ts --selectProjects starknet-gauntlet-starkgate --passWithNoTests", + "test": "SKIP_PROMPTS=true jest --runInBand --config ../../jest.config.ts --selectProjects starknet-gauntlet-token --passWithNoTests", "test:ci": "yarn test --ci", "format": "yarn prettier --write ./src", "format:check": "yarn prettier --check ./src", diff --git a/packages-ts/starknet-gauntlet-ocr2/README.md b/packages-ts/starknet-gauntlet-ocr2/README.md index 40745db4e..f6723f5f1 100644 --- a/packages-ts/starknet-gauntlet-ocr2/README.md +++ b/packages-ts/starknet-gauntlet-ocr2/README.md @@ -11,7 +11,7 @@ ACCOUNT=0x... LINK=0x... ``` -Note: The [token contract](https://github.com/smartcontractkit/chainlink-starknet/tree/develop/packages-ts/starknet-gauntlet-starkgate) should only be deployed once and the same contract should be used for very aggregator +Note: The [token contract](https://github.com/smartcontractkit/chainlink-starknet/tree/develop/packages-ts/starknet-gauntlet-token) should only be deployed once and the same contract should be used for very aggregator ## Deploy an Access Controller Contract @@ -27,7 +27,7 @@ This command will generate a new Access Controller address and will give the det Run the following command substituting the following attributes: -1. with the [deployed token contract](https://github.com/smartcontractkit/chainlink-starknet/tree/develop/packages-ts/starknet-gauntlet-starkgate) +1. with the [deployed token contract](https://github.com/smartcontractkit/chainlink-starknet/tree/develop/packages-ts/starknet-gauntlet-token) 2. with the access controller contract you deployed in the previous section ```bash diff --git a/packages-ts/starknet-gauntlet-starkgate/LICENSE b/packages-ts/starknet-gauntlet-token/LICENSE similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/LICENSE rename to packages-ts/starknet-gauntlet-token/LICENSE diff --git a/packages-ts/starknet-gauntlet-starkgate/README.md b/packages-ts/starknet-gauntlet-token/README.md similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/README.md rename to packages-ts/starknet-gauntlet-token/README.md diff --git a/packages-ts/starknet-gauntlet-starkgate/package.json b/packages-ts/starknet-gauntlet-token/package.json similarity index 88% rename from packages-ts/starknet-gauntlet-starkgate/package.json rename to packages-ts/starknet-gauntlet-token/package.json index b588f1d5f..d8b46348c 100644 --- a/packages-ts/starknet-gauntlet-starkgate/package.json +++ b/packages-ts/starknet-gauntlet-token/package.json @@ -1,5 +1,5 @@ { - "name": "@chainlink/starknet-gauntlet-starkgate", + "name": "@chainlink/starknet-gauntlet-token", "version": "0.0.1", "description": "Gauntlet Starknet Starkgate contracts", "keywords": [ @@ -15,7 +15,7 @@ "scripts": { "gauntlet": "ts-node ./src/index.ts", "lint": "tsc", - "test": "SKIP_PROMPTS=true jest --runInBand --config ../../jest.config.ts --selectProjects starknet-gauntlet-starkgate --passWithNoTests", + "test": "SKIP_PROMPTS=true jest --runInBand --config ../../jest.config.ts --selectProjects starknet-gauntlet-token --passWithNoTests", "test:coverage": "yarn test --collectCoverage", "test:ci": "yarn test --ci", "format": "yarn prettier --write ./src", diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/index.ts b/packages-ts/starknet-gauntlet-token/src/commands/index.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/index.ts rename to packages-ts/starknet-gauntlet-token/src/commands/index.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/balanceOf.ts b/packages-ts/starknet-gauntlet-token/src/commands/inspection/balanceOf.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/balanceOf.ts rename to packages-ts/starknet-gauntlet-token/src/commands/inspection/balanceOf.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/index.ts b/packages-ts/starknet-gauntlet-token/src/commands/inspection/index.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/index.ts rename to packages-ts/starknet-gauntlet-token/src/commands/inspection/index.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/inspectL2Bridge.ts b/packages-ts/starknet-gauntlet-token/src/commands/inspection/inspectL2Bridge.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/inspection/inspectL2Bridge.ts rename to packages-ts/starknet-gauntlet-token/src/commands/inspection/inspectL2Bridge.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/token/deploy.ts b/packages-ts/starknet-gauntlet-token/src/commands/token/deploy.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/token/deploy.ts rename to packages-ts/starknet-gauntlet-token/src/commands/token/deploy.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/token/index.ts b/packages-ts/starknet-gauntlet-token/src/commands/token/index.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/token/index.ts rename to packages-ts/starknet-gauntlet-token/src/commands/token/index.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/token/mint.ts b/packages-ts/starknet-gauntlet-token/src/commands/token/mint.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/token/mint.ts rename to packages-ts/starknet-gauntlet-token/src/commands/token/mint.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/commands/token/transfer.ts b/packages-ts/starknet-gauntlet-token/src/commands/token/transfer.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/commands/token/transfer.ts rename to packages-ts/starknet-gauntlet-token/src/commands/token/transfer.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/index.ts b/packages-ts/starknet-gauntlet-token/src/index.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/index.ts rename to packages-ts/starknet-gauntlet-token/src/index.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/lib/categories.ts b/packages-ts/starknet-gauntlet-token/src/lib/categories.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/lib/categories.ts rename to packages-ts/starknet-gauntlet-token/src/lib/categories.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/src/lib/contracts.ts b/packages-ts/starknet-gauntlet-token/src/lib/contracts.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/src/lib/contracts.ts rename to packages-ts/starknet-gauntlet-token/src/lib/contracts.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/test/commands/bridge.test.ts b/packages-ts/starknet-gauntlet-token/test/commands/bridge.test.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/test/commands/bridge.test.ts rename to packages-ts/starknet-gauntlet-token/test/commands/bridge.test.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/test/commands/token.test.ts b/packages-ts/starknet-gauntlet-token/test/commands/token.test.ts similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/test/commands/token.test.ts rename to packages-ts/starknet-gauntlet-token/test/commands/token.test.ts diff --git a/packages-ts/starknet-gauntlet-starkgate/tsconfig.json b/packages-ts/starknet-gauntlet-token/tsconfig.json similarity index 100% rename from packages-ts/starknet-gauntlet-starkgate/tsconfig.json rename to packages-ts/starknet-gauntlet-token/tsconfig.json diff --git a/tsconfig.json b/tsconfig.json index 69e33b96d..cb4dd770b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,7 +22,7 @@ "path": "./packages-ts/starknet-gauntlet-example" }, { - "path": "./packages-ts/starknet-gauntlet-starkgate" + "path": "./packages-ts/starknet-gauntlet-token" }, { "path": "./packages-ts/starknet-gauntlet-ocr2"