Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evm: Use chain list from adapter registry #582

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@
[submodule "evm/lib/solidity-bytes-utils"]
path = evm/lib/solidity-bytes-utils
url = https://github.com/GNSPS/solidity-bytes-utils
[submodule "evm/lib/example-messaging-endpoint"]
path = evm/lib/example-messaging-endpoint
url = https://github.com/wormholelabs-xyz/example-messaging-endpoint
[submodule "evm/lib/example-messaging-executor"]
path = evm/lib/example-messaging-executor
url = https://github.com/wormholelabs-xyz/example-messaging-executor
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

Wormhole’s Native Token Transfers (NTT) is an open, flexible, and composable framework for transferring tokens across blockchains without liquidity pools. Integrators have full control over how their Natively Transferred Tokens (NTTs) behave on each chain, including the token standard and metadata. For existing token deployments, the framework can be used in “locking” mode which preserves the original token supply on a single chain. Otherwise, the framework can be used in “burning” mode to deploy natively multichain tokens with the supply distributed among multiple chains.

This version of NTT uses the Wormhole Modular Messaging infrastructure.

## Design

There are two basic components to NTT:
Expand Down
59 changes: 44 additions & 15 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ docker_build(
ignore=["./sdk/__tests__", "./sdk/Dockerfile", "./sdk/ci.yaml", "./sdk/**/dist", "./sdk/node_modules", "./sdk/**/node_modules"],
dockerfile = "./solana/Dockerfile",
)
docker_build(
ref = "solana-test-validator",
context = "solana",
dockerfile = "solana/Dockerfile.test-validator"
)
k8s_yaml_with_ns("./solana/solana-devnet.yaml")
k8s_resource(
"solana-devnet",
labels = ["anchor-ntt"],
port_forwards = [
port_forward(8899, name = "Solana RPC [:8899]"),
port_forward(8900, name = "Solana WS [:8900]"),
],
)
# docker_build(
# ref = "solana-test-validator",
# context = "solana",
# dockerfile = "solana/Dockerfile.test-validator"
# )
# k8s_yaml_with_ns("./solana/solana-devnet.yaml")
# k8s_resource(
# "solana-devnet",
# labels = ["anchor-ntt"],
# port_forwards = [
# port_forward(8899, name = "Solana RPC [:8899]"),
# port_forward(8900, name = "Solana WS [:8900]"),
# ],
# )

# EVM build
docker_build(
Expand All @@ -36,6 +36,35 @@ docker_build(
dockerfile = "./evm/Dockerfile",
)

# MM and Executor Contract Deploy / Setup
docker_build(
ref = "executor-deploy",
context = "tilt",
dockerfile = "tilt/Dockerfile.deploy",
only = ["deploy.sh"]
)
docker_build(
ref = "executor",
context = "tilt",
dockerfile = "tilt/Dockerfile.executor",
only = [],
)
k8s_yaml_with_ns("tilt/executor-deploy.yaml")
k8s_resource(
"executor-deploy",
labels = ["executor"],
resource_deps = ["eth-devnet", "eth-devnet2"],
)
k8s_yaml_with_ns("tilt/executor.yaml")
k8s_resource(
"executor",
labels = ["executor"],
resource_deps = ["eth-devnet", "eth-devnet2", "guardian", "executor-deploy"],
port_forwards = [
port_forward(3000, name = "Executor [:3000]"),
],
)

# CI tests
docker_build(
ref = "ntt-ci",
Expand All @@ -47,5 +76,5 @@ k8s_yaml_with_ns("./sdk/ci.yaml")
k8s_resource(
"ntt-ci-tests",
labels = ["ntt"],
resource_deps = ["eth-devnet", "eth-devnet2", "solana-devnet", "guardian", "relayer-engine", "wormchain"],
resource_deps = ["eth-devnet", "eth-devnet2", "solana-devnet", "guardian", "relayer-engine", "wormchain", "executor"],
)
Loading
Loading