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

chore: register blob msg server in module #1653

Merged
merged 1 commit into from
Apr 25, 2023

Conversation

evan-forbes
Copy link
Member

Overview

This is pretty standard to do in the sdk, not sure how we haven't done this yet given over two years of running the state machine and audits lol

Everything was still occurring via the legacy sdk.Router, but still...

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

@MSevey MSevey requested review from a team, rootulp and mojtaba-esk and removed request for a team April 24, 2023 20:03
@evan-forbes evan-forbes requested review from cmwaters and rach-id and removed request for mojtaba-esk April 24, 2023 20:03
@evan-forbes evan-forbes self-assigned this Apr 24, 2023
@evan-forbes evan-forbes added the x/blob item is directly relevant to the blob module label Apr 24, 2023
@codecov-commenter
Copy link

Codecov Report

Merging #1653 (8b6db41) into main (309c650) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main    #1653   +/-   ##
=======================================
  Coverage   50.98%   50.99%           
=======================================
  Files          92       92           
  Lines        5749     5748    -1     
=======================================
  Hits         2931     2931           
+ Misses       2519     2518    -1     
  Partials      299      299           
Impacted Files Coverage Δ
pkg/wrapper/nmt_wrapper.go 80.43% <ø> (+3.35%) ⬆️
x/blob/module.go 3.63% <0.00%> (-0.07%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@rach-id rach-id left a comment

Choose a reason for hiding this comment

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

Nice catch. How did it work without having the querier registered?

@cmwaters
Copy link
Contributor

Nice catch. How did it work without having the querier registered?

The querier was registered. The msg server is just for transactions

@rach-id
Copy link
Member

rach-id commented Apr 25, 2023

The msg server is just for transactions

Aaah I see, then how are we sending pay for blob transactions?

@evan-forbes evan-forbes merged commit e8e6a56 into main Apr 25, 2023
28 checks passed
@evan-forbes evan-forbes deleted the evan/register-blob-server branch April 25, 2023 09:06
@evan-forbes
Copy link
Member Author

Aaah I see, then how are we sending pay for blob transactions?

the sdk was using the legacy mechanism, which we're also registering

https://github.com/celestiaorg/cosmos-sdk/blob/50f4c49034ee97424a43b32e77715f9c8413bb5d/baseapp/baseapp.go#L783-L800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
x/blob item is directly relevant to the blob module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants