Skip to content

Commit

Permalink
Merge branch 'main' into larger-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ravinagill15 authored Jan 7, 2025
2 parents b8669db + 847a6f2 commit ea7a4d7
Show file tree
Hide file tree
Showing 221 changed files with 176,482 additions and 5,919 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-ligers-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@stargatefinance/stg-definitions-v2": patch
---

peaq custom gas
10 changes: 10 additions & 0 deletions .changeset/plenty-suits-dress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@stargatefinance/stg-definitions-v2": patch
"@stargatefinance/stg-evm-v2": patch
"@stargatefinance/stg-devtools-evm-hardhat-v2": patch
"@stargatefinance/stg-devtools-v2": patch
"@stargatefinance/stg-error-parser": patch
"@stargatefinance/stg-evm-sdk-v2": patch
---

abstract
2 changes: 2 additions & 0 deletions .github/workflows/reusable-configure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
# We'll add all the RPC URLs from secrets
#
# Mainnet
RPC_URL_ABSTRACT_MAINNET: ${{ secrets.RPC_URL_ABSTRACT_MAINNET }}
RPC_URL_ARBITRUM_MAINNET: ${{ secrets.RPC_URL_ARBITRUM_MAINNET }}
RPC_URL_AURORA_MAINNET: ${{ secrets.RPC_URL_AURORA_MAINNET }}
RPC_URL_AVALANCHE_MAINNET: ${{ secrets.RPC_URL_AVALANCHE_MAINNET }}
Expand All @@ -42,6 +43,7 @@ env:
RPC_URL_ZKSYNC_MAINNET: ${{ secrets.RPC_URL_ZKSYNC_MAINNET }}
# Testnet
RPC_URL_OPTIMISM_TESTNET: ${{ secrets.RPC_URL_OPTIMISM_TESTNET }}
RPC_URL_BL3_TESTNET: ${{ secrets.RPC_URL_BL3_TESTNET }}

jobs:
deploy-sandbox:
Expand Down
26 changes: 24 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ CONFIGURE_LIQUIDITY=$(HARDHAT) stg:add::liquidity

VALIDATE_RPCS = $(HARDHAT) lz:healthcheck:validate:rpcs

SOURCE_TETHER_DIR=packages/stg-evm-v2/TetherTokenV2.sol
ARTIFACTS_DIR=packages/stg-evm-v2/artifacts/
ARTIFACTS_ZK_DIR=packages/stg-evm-v2/artifacts-zk/

# Arguments to be always passed to hardhat lz:deploy devtools command
#
# These allow consumers of this script to pass flags like --ci or --reset
Expand Down Expand Up @@ -185,6 +189,15 @@ configure-testnet:
# Transfer ownership
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/usdc-token.config.ts --signer deployer

# Copy TetherTokenV2.sol directory to the artifacts directory
cp -r $(SOURCE_TETHER_DIR) $(ARTIFACTS_DIR)

# Copy TetherTokenV2.sol directory to the artifacts-zk directory
cp -r $(SOURCE_TETHER_DIR) $(ARTIFACTS_ZK_DIR)

# Transfer USDT ownership
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/usdt-token.config.ts --signer deployer

# Configure the assets
$(CONFIGURE_ASSET) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/asset.usdc.config.ts --signer deployer
$(CONFIGURE_ASSET) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/asset.usdt.config.ts --signer deployer
Expand All @@ -197,7 +210,7 @@ configure-testnet:
$(CONFIGURE_TOKEN_MESSAGING) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/token-messaging.config.ts --signer deployer

# Initialize bus storage for token messaging
$(CONFIGURE_TOKEN_MESSAGING_INITIALIZE_STORAGE) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/token-messaging.config.ts --signer deployer
# $(CONFIGURE_TOKEN_MESSAGING_INITIALIZE_STORAGE) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/token-messaging.config.ts --signer deployer

# Configure feelib V1
$(CONFIGURE_FEELIB_V1) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/feelib-v1.usdc.config.ts --signer deployer
Expand Down Expand Up @@ -276,7 +289,7 @@ configure-mainnet:
# Initialize bus storage for token messaging
#
# We want this particular configuration to never be batched as the individual transactions are quite gas-intensive
LZ_ENABLE_EXPERIMENTAL_BATCHED_SEND="" $(CONFIGURE_TOKEN_MESSAGING_INITIALIZE_STORAGE) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/token-messaging.config.ts --signer deployer
# LZ_ENABLE_EXPERIMENTAL_BATCHED_SEND="" $(CONFIGURE_TOKEN_MESSAGING_INITIALIZE_STORAGE) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/token-messaging.config.ts --signer deployer

# Configure feelib V1
$(CONFIGURE_FEELIB_V1) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/feelib-v1.eth.config.ts --signer deployer
Expand Down Expand Up @@ -305,6 +318,15 @@ transfer-mainnet:
# Transfer USDC ownership
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/usdc-token.config.ts --signer deployer

# Copy TetherTokenV2.sol directory to the artifacts directory
cp -r $(SOURCE_TETHER_DIR) $(ARTIFACTS_DIR)

# Copy TetherTokenV2.sol directory to the artifacts-zk directory
cp -r $(SOURCE_TETHER_DIR) $(ARTIFACTS_ZK_DIR)

# Transfer USDT ownership
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/usdt-token.config.ts --signer deployer

# The assets
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/asset.eth.config.ts --signer deployer
$(TRANSFER_OWNERSHIP) $(CONFIGURE_ARGS_COMMON) --oapp-config $(CONFIG_BASE_PATH)/asset.meth.config.ts --signer deployer
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
]
},
"resolutions": {
"@layerzerolabs/lz-definitions": "3.0.7",
"@layerzerolabs/lz-evm-sdk-v2": "3.0.7",
"@layerzerolabs/lz-v2-utilities": "3.0.7",
"@layerzerolabs/lz-definitions": "~3.0.30",
"@layerzerolabs/lz-evm-sdk-v2": "3.0.30",
"@layerzerolabs/lz-v2-utilities": "~3.0.30",
"es5-ext": "https://github.com/LayerZero-Labs/es5-ext"
},
"devDependencies": {
Expand Down
81 changes: 81 additions & 0 deletions packages/stg-definitions-v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,86 @@
# @stargatefinance/stg-definitions-v2

## 1.4.1

### Patch Changes

- 650b96f: ink mainnet
- 15e136b: Rootstock config
- 408bd54: hemi contracts
- 00d3d6e: fuse mainnet config
- ae6c67e: Updating packages
- 680e77b: safe addresses ink
- 9923622: islander usdt
- 9b41f9b: hemi

## 1.4.0

### Minor Changes

- 246556f: Renamed storyodyssey-testnet to odyssey-testnet

### Patch Changes

- e6193bd: executor bump

## 1.3.6

### Patch Changes

- 427f30e: Codex Mainnet Config
- 7be2990: vana usdt
- 63af792: codex
- 2f0bda9: islander usdt

## 1.3.5

### Patch Changes

- 90500af: Plume updates
- 19f993b: superposition usdc
- b2a2ac5: plume mainnet
- cbbf60a: vana mainnet config
- b263a9c: Mantle Sepolia Testnet
- aede3f7: final plume stargateoftusdc, feelib, token
- bc66d16: Superposition
- 19f993b: Superposition update
- 52766b7: Superposition deployment
- 3d2232d: Plume Updates

## 1.3.4

### Patch Changes

- d5f5fae: plume mainnet
- ba5517b: plume mainnet config changeset

## 1.3.3

### Patch Changes

- 974c8e6: Story Odyssey Testnet

## 1.3.2

### Patch Changes

- 253a1a8: bl3 testnet
- da1a8b9: degen mainnet

## 1.3.1

### Patch Changes

- 9dc7d09: peaq usdt
- 48b1dc6: degen mainnet config
- ea8c128: Updating peaq USDT configurations

## 1.3.0

### Minor Changes

- 676b2cd: Support for external USDT deployments

## 1.2.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/stg-definitions-v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stargatefinance/stg-definitions-v2",
"version": "1.2.5",
"version": "1.4.1",
"exports": {
".": {
"types": "./dist/index.d.ts",
Expand All @@ -21,7 +21,7 @@
},
"devDependencies": {
"@ethersproject/units": "~5.7.0",
"@layerzerolabs/lz-definitions": "~3.0.7",
"@layerzerolabs/lz-definitions": "~3.0.30",
"@layerzerolabs/tsup-config-next": "~3.0.7",
"@layerzerolabs/typescript-config-next": "~3.0.7",
"@safe-global/protocol-kit": "^1.3.0",
Expand Down
Loading

0 comments on commit ea7a4d7

Please sign in to comment.