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

feat(relayer): prepare bridge relayer API for frontend #13124

Merged
merged 11 commits into from
Feb 10, 2023
Merged

Conversation

cyberhorsey
Copy link
Contributor

Relayer API should be used to query for bridging events, and then merge with frontends localsTorage, so bridging events persist across devices.

This PR provides necessary information for the frontend to be able to know which event type it is dealing with, and contain the same info as the localStorage events.

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #13124 (1d20b4d) into main (675611d) will decrease coverage by 0.89%.
The diff coverage is 45.07%.

@@            Coverage Diff             @@
##             main   #13124      +/-   ##
==========================================
- Coverage   62.79%   61.91%   -0.89%     
==========================================
  Files         113      114       +1     
  Lines        3209     3337     +128     
  Branches      434      434              
==========================================
+ Hits         2015     2066      +51     
- Misses       1118     1189      +71     
- Partials       76       82       +6     
Flag Coverage Δ *Carryforward flag
bridge-ui 92.61% <ø> (ø) Carriedforward from 675611d
protocol 53.23% <ø> (ø) Carriedforward from 675611d
relayer 66.22% <45.07%> (-2.94%) ⬇️
ui 100.00% <ø> (ø) Carriedforward from 675611d

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
packages/relayer/http/get_block_info.go 0.00% <0.00%> (ø)
packages/relayer/cli/cli.go 58.07% <26.31%> (-4.38%) ⬇️
packages/relayer/indexer/handle_event.go 57.14% <59.64%> (+5.62%) ⬆️
packages/relayer/http/routes.go 100.00% <100.00%> (ø)
packages/relayer/http/server.go 96.47% <100.00%> (+0.58%) ⬆️
packages/relayer/repo/event.go 76.00% <100.00%> (+3.27%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dantaik dantaik changed the title feat(relayer): Prepare Relayer API for frontend feat(relayer): prepare bridge relayer API for frontend Feb 10, 2023
dantaik
dantaik previously approved these changes Feb 10, 2023
davidtaikocha
davidtaikocha previously approved these changes Feb 10, 2023
@dantaik dantaik added this pull request to the merge queue Feb 10, 2023
Merged via the queue into main with commit ef1f691 Feb 10, 2023
@dantaik dantaik deleted the relayer_api_token branch February 10, 2023 08:54
@github-actions github-actions bot mentioned this pull request Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants