Skip to content

Commit

Permalink
Teleporter routes (#959)
Browse files Browse the repository at this point in the history
* first major refactoring of teleporter

* teleporter - refactoring

* checkpoint 3

* e2e & teleporter service tests succeeding

* adapted teleportation service, slicing etc - all tests run through

* random token e2e tests

* added native/token tests to other networks

* max-min deposit amount refactoring - tests run through again

* merged more methods together - e2e tests pass

* merged teleport

* merged disburse

* added simple asset routing

* comment

* resiliency of asset support

* only

* dual fee

* debug

* native <> token routing, general routing works - all tests succeed

* only

* eth-tests

* branch coverage, cleanup, gas effeciency, ..

* slither fixes

* boba as a fee token

* checkpoint alt

* failed disbursement strategy

* fix-alt-msgval-test

* fix-integ

* remove-unneeded-test

* rm-moonbeam

* adapt-teleporter-addresses

* deployment documentation

* debug

* redeployment-alt-networks

* db-service-config

* testnet tests succeed,  full test token<>token alt<>alt, full native<>token alt<>goerli

* update-heights

* added l1 networks

* goerli deployment - teleporter

* multicall-goerli-depl

* goerli l1 <> goerli l2 succeeded

* fix integration tests

* tests

* integration_tests-fixed

* merge

* alt

* service & integ successful

* ready

* Update teleportation.spec.ts

* Update teleportation.spec.ts

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* Update packages/boba/contracts/contracts/Teleportation.sol

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>

* more-independent-tests

* clean

* interface-checker

* rm-erc165-checker

* fix

* teleporter-feedback

* token-chain-relation

* service+tests

* redeployment-contracts

* chainconfig

* debug

* integration_test-fix

* tests-work

* Documentation

* Update chains.ts

---------

Co-authored-by: Ino Murko <ino.murko.github@protonmail.com>
  • Loading branch information
wsdt and InoMurko authored Jul 4, 2023
1 parent 71d6015 commit b9c46f0
Show file tree
Hide file tree
Showing 17 changed files with 3,108 additions and 1,427 deletions.
487 changes: 434 additions & 53 deletions integration-tests/test/alt-l2/teleportation.spec.ts

Large diffs are not rendered by default.

487 changes: 434 additions & 53 deletions integration-tests/test/eth-l2/teleportation.spec.ts

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions ops/.env-template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Encrypted Disburser Key
TELEPORTATION_DISBURSER_KEY_ENC=
# Disburser Key AWS ID
TELEPORTATION_DISBURSER_KEY_AWS_ID=
5 changes: 5 additions & 0 deletions ops/docker-compose-side.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,18 @@ services:
depends_on:
- l2geth
- teleportation_db
- kms
image: bobanetwork/teleportation:latest
build:
context: ..
dockerfile: ./ops/docker/Dockerfile.packages
target: teleportation
deploy:
replicas: 0
environment:
# TODO: Further compare KMS setup with BatchSubmitter
TELEPORTATION_DISBURSER_KEY_ID: "${TELEPORTATION_DISBURSER_KEY_ID}"
TELEPORTATION_DISBURSER_KEY_ENC: "${TELEPORTATION_DISBURSER_KEY_ENC}"

teleportation_db:
image: postgres
Expand Down
Loading

0 comments on commit b9c46f0

Please sign in to comment.