Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Refactor s2s bridge#467

Merged
hackfisher merged 58 commits into
masterfrom
fewensa-refactor-s2s
Jun 14, 2022
Merged

Refactor s2s bridge#467
hackfisher merged 58 commits into
masterfrom
fewensa-refactor-s2s

Conversation

@fewensa
Copy link
Copy Markdown
Contributor

@fewensa fewensa commented May 23, 2022

Refactor s2s bridge.

This pr is an exploration of s2s bridge implementations. also only includes the delivery of messages.
Just include bridge pangolin-pangoro, other s2s bridges and other features (such as feemarket/docs) will be improved in the future.

fewensa added 30 commits May 23, 2022 15:08
# Conflicts:
#	frame/assistants/client-pangolin/Cargo.toml
#	frame/assistants/client-pangolin/src/client.rs
#	frame/assistants/client-pangolin/src/error.rs
#	frame/assistants/client-pangoro/src/component.rs
# Conflicts:
#	bridges/pangolin-pangoro/Cargo.lock
#	frame/assistants/client-pangolin/Cargo.toml
@hackfisher
Copy link
Copy Markdown
Contributor

How to update the Cargo.lock in bridges folder in one command?

@fewensa
Copy link
Copy Markdown
Contributor Author

fewensa commented Jun 13, 2022

How to update the Cargo.lock in bridges folder in one command?

Have two ways:

  1. If you use Jetbrains IDEA/CLion , please add all bridges/* to the project manager. if Cargo.toml changed will be auto update Cargo.lock
  2. Other way is run this script https://github.com/darwinia-network/bridger/blob/master/scripts/build.sh
    ./scripts/build.sh all
    this will build all bridges (now, adding the bridge to scripts is required). and update Cargo.lock

@fewensa fewensa marked this pull request as ready for review June 13, 2022 13:09
@fewensa fewensa requested review from furoxr, hackfisher and wuminzhe and removed request for furoxr June 13, 2022 13:09
@hackfisher
Copy link
Copy Markdown
Contributor

Which s2s bridges are refactored to use the new approach?

All of them or some of them?

@fewensa
Copy link
Copy Markdown
Contributor Author

fewensa commented Jun 13, 2022

Which s2s bridges are refactored to use the new approach?

All of them or some of them?

I updated the pull request description, this pull request only include bridge pangolin-pangoro

Comment thread bridges/pangolin-pangoro/bridge/src/command/handler/init.rs Outdated
Comment thread frame/assistants/client-pangolin/src/fastapi/s2s/mod.rs Outdated
Comment thread frame/assistants/client-pangoro/src/fastapi/s2s/mod.rs Outdated
Comment thread frame/assistants/client-pangoro/src/fastapi/s2s/pangolin.rs Outdated
@hackfisher hackfisher merged commit 2ed70f8 into master Jun 14, 2022
@hackfisher hackfisher deleted the fewensa-refactor-s2s branch June 14, 2022 09:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

No open projects
Status: Done/No Companion

Development

Successfully merging this pull request may close these issues.

2 participants