Skip to content

Commit

Permalink
feat: change npm packages name
Browse files Browse the repository at this point in the history
  • Loading branch information
0x6e616d committed Mar 20, 2024
1 parent c8c47b7 commit 0ae9cb9
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-tokamak-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
id: filter-packages
run: |
# Define the package names to publish
PACKAGES_TO_PUBLISH=("@tokamak-network/titan2-sdk @tokamak-network/titan2-contracts")
PACKAGES_TO_PUBLISH=("@tokamak-network/sdk @tokamak-network/contracts")
# Set the output variables for packages to publish
echo "packages-to-publish=${PACKAGES_TO_PUBLISH[@]}" >> $GITHUB_OUTPUT
Expand All @@ -68,4 +68,4 @@ jobs:
fi
done
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion packages/tokamak/contracts-bedrock/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tokamak-network/titan2-contracts",
"name": "@tokamak-network/contracts",
"version": "0.0.1",
"description": "Contracts for Optimism Specs",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/tokamak/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@tokamak-network/titan2-sdk",
"name": "@tokamak-network/sdk",
"version": "0.0.2",
"description": "Tools for working with Titan 2.0",
"main": "dist/index",
Expand Down Expand Up @@ -63,7 +63,7 @@
"dependencies": {
"@eth-optimism/contracts": "0.6.0",
"@eth-optimism/contracts-bedrock": "workspace:*",
"@tokamak-network/titan2-contracts": "workspace:*",
"@tokamak-network/contracts": "workspace:*",
"@eth-optimism/core-utils": "workspace:*",
"lodash": "^4.17.21",
"merkletreejs": "^0.3.10",
Expand Down
10 changes: 5 additions & 5 deletions packages/tokamak/sdk/src/utils/chain-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ import { ethers } from 'ethers'
import portalArtifactsMainnet from '@eth-optimism/contracts-bedrock/deployments/mainnet/OptimismPortalProxy.json'
import portalArtifactsGoerli from '@eth-optimism/contracts-bedrock/deployments/goerli/OptimismPortalProxy.json'
import portalArtifactsSepolia from '@eth-optimism/contracts-bedrock/deployments/sepolia/OptimismPortalProxy.json'
import portalArtifactsTitanSepoliaTest from '@tokamak-network/titan2-contracts/deployments/titan-sepolia-test/OptimismPortalProxy.json'
import portalArtifactsTitanSepoliaTest from '@tokamak-network/contracts/deployments/titan-sepolia-test/OptimismPortalProxy.json'
import l2OutputOracleArtifactsMainnet from '@eth-optimism/contracts-bedrock/deployments/mainnet/L2OutputOracleProxy.json'
import l2OutputOracleArtifactsGoerli from '@eth-optimism/contracts-bedrock/deployments/goerli/L2OutputOracleProxy.json'
import l2OutputOracleArtifactsSepolia from '@eth-optimism/contracts-bedrock/deployments/sepolia/L2OutputOracleProxy.json'
import l2OutputOracleArtifactsTitanSepoliaTest from '@tokamak-network/titan2-contracts/deployments/titan-sepolia-test/L2OutputOracleProxy.json'
import l2OutputOracleArtifactsTitanSepoliaTest from '@tokamak-network/contracts/deployments/titan-sepolia-test/L2OutputOracleProxy.json'
import addressManagerArtifactMainnet from '@eth-optimism/contracts-bedrock/deployments/mainnet/AddressManager.json'
import addressManagerArtifactGoerli from '@eth-optimism/contracts-bedrock/deployments/goerli/AddressManager.json'
import addressManagerArtifactSepolia from '@eth-optimism/contracts-bedrock/deployments/sepolia/AddressManager.json'
import addressManagerArtifactTitanSepoliaTest from '@tokamak-network/titan2-contracts/deployments/titan-sepolia-test/AddressManager.json'
import addressManagerArtifactTitanSepoliaTest from '@tokamak-network/contracts/deployments/titan-sepolia-test/AddressManager.json'
import l1StandardBridgeArtifactMainnet from '@eth-optimism/contracts-bedrock/deployments/mainnet/L1StandardBridgeProxy.json'
import l1StandardBridgeArtifactGoerli from '@eth-optimism/contracts-bedrock/deployments/goerli/L1StandardBridgeProxy.json'
import l1StandardBridgeArtifactSepolia from '@eth-optimism/contracts-bedrock/deployments/sepolia/L1StandardBridgeProxy.json'
import l1StandardBridgeArtifactTitanSepoliaTest from '@tokamak-network/titan2-contracts/deployments/titan-sepolia-test/L1StandardBridgeProxy.json'
import l1StandardBridgeArtifactTitanSepoliaTest from '@tokamak-network/contracts/deployments/titan-sepolia-test/L1StandardBridgeProxy.json'
import l1CrossDomainMessengerArtifactMainnet from '@eth-optimism/contracts-bedrock/deployments/mainnet/L1CrossDomainMessengerProxy.json'
import l1CrossDomainMessengerArtifactGoerli from '@eth-optimism/contracts-bedrock/deployments/goerli/L1CrossDomainMessengerProxy.json'
import l1CrossDomainMessengerArtifactSepolia from '@eth-optimism/contracts-bedrock/deployments/sepolia/L1CrossDomainMessengerProxy.json'
import l1CrossDomainMessengerArtifactTitanSepoliaTest from '@tokamak-network/titan2-contracts/deployments/titan-sepolia-test/L1CrossDomainMessengerProxy.json'
import l1CrossDomainMessengerArtifactTitanSepoliaTest from '@tokamak-network/contracts/deployments/titan-sepolia-test/L1CrossDomainMessengerProxy.json'

const portalAddresses = {
mainnet: portalArtifactsMainnet.address,
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0ae9cb9

Please sign in to comment.