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

[Phase 1]: Tunnel offchain relayer #1

Merged
merged 20 commits into from
Nov 13, 2024
Merged

[Phase 1]: Tunnel offchain relayer #1

merged 20 commits into from
Nov 13, 2024

Conversation

nkitlabs
Copy link
Collaborator

Fixed: implement features for tunnel offchain relayer.

Implementation details

Please ensure the following requirements are met before submitting a pull request:

  • The pull request is targeted against the correct target branch
  • The pull request is linked to an issue with appropriate discussion and an accepted design OR is linked to a spec that describes the work.
  • The pull request includes a description of the implementation/work done in detail.
  • The pull request includes any and all appropriate unit/integration tests
  • You have added a relevant changelog entry to CHANGELOG_UNRELEASED.md
  • You have re-reviewed the files affected by the pull request (e.g. using the Files changed tab in the Github PR explorer)

Tanut Lertwarachai and others added 9 commits October 16, 2024 15:19
* add chain config with wrapper

* add chain client and query tunnel info on chain

* add comment

* add test

* fix client connect logic

* fix from comments

* fix relayer folder

* fix from comments

* remove chain type

* fix method name

* format util test

* change variable names

* fix json tag

* fix variable name

* fx type and test

* fix comments

* rename field

* fix field
relayer/band/types/signing.go Outdated Show resolved Hide resolved
nkitlabs and others added 5 commits October 24, 2024 00:21
* save changes

* add query

* combine getPacket,getSigning and fix return object in cli

* [Fix] Band client fix gomod (#6)

* fix gomod

* fix github action and lint rule

* fix github action

* fix action

* fix action

* fix action

* fix action

* fix action

* fix golangci-lint

* fix action

* fix by comment in pr

* handle query client nil case

* fix wrong tunnel router addr

* type name and arrangement

* fix comment

* fix leftover tmbytes

---------

Co-authored-by: Tanut Lertwarachai <tanutlertwarachai@Tanuts-MacBook-Pro.local>
Co-authored-by: Natthakun Kitthaworn <natthakunk0109@gmail.com>
tunnel.IsActive,
)

targetChain := tunnel.TargetChainID
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tunnelChainId is chain's name?

@@ -13,6 +16,11 @@ jobs:
with:
go-version: "1.22.3"

- name: Configure git for private modules
env:
TOKEN: ${{ secrets.SHIBA_TOKEN }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why shiba haha?

- name: Configure git for private modules
env:
TOKEN: ${{ secrets.SHIBA_TOKEN }}
run: git config --global url."https://nkitlabs:${TOKEN}@github.com".insteadOf "https://github.com"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

next time, better to use band bot account token for this

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RogerKSI fix leoi2 mee kon notice leaw

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bandbot somehow is not working for this case. think can open PR later to remove it after public.

@nkitlabs nkitlabs merged commit f0e3126 into main Nov 13, 2024
2 checks passed
@nkitlabs nkitlabs deleted the development branch November 13, 2024 08:47
@RogerKSI RogerKSI restored the development branch November 13, 2024 08:50
@RogerKSI RogerKSI deleted the development branch November 13, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants