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

abci: codespace #2557

Merged
merged 2 commits into from Oct 6, 2018
Merged

abci: codespace #2557

merged 2 commits into from Oct 6, 2018

Conversation

ebuchman
Copy link
Contributor

@ebuchman ebuchman commented Oct 6, 2018

Closes #1858

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

@codecov-io
Copy link

codecov-io commented Oct 6, 2018

Codecov Report

Merging #2557 into develop will decrease coverage by 0.1%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #2557      +/-   ##
===========================================
- Coverage    61.33%   61.22%   -0.11%     
===========================================
  Files          202      202              
  Lines        16677    16708      +31     
===========================================
+ Hits         10229    10230       +1     
- Misses        5585     5611      +26     
- Partials       863      867       +4
Impacted Files Coverage Δ
evidence/pool.go 52.08% <0%> (-4.06%) ⬇️
consensus/reactor.go 70.93% <0%> (-1.68%) ⬇️
libs/db/remotedb/grpcdb/client.go 0% <0%> (ø) ⬆️
libs/db/remotedb/remotedb.go 41.52% <0%> (+4.68%) ⬆️

Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

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

🍰 🌮 🍉

@ValarDragon
Copy link
Contributor

I'm not really a fan of codespace as a string on every Check/Deliver Tx response. We probably don't have time prelaunch, but I think it would be worth benchmarking the performance overhead vs the int based codespacing. I know in the ADR it said that it was complex and hacky, but I completely disagree. It seemed like a very natural and simple thing to me. (If the performance overhead is negligible, then my concern is gone)

@ebuchman
Copy link
Contributor Author

ebuchman commented Oct 6, 2018

but I completely disagree.

You think the way we're hacking namespaces into the Code in the SDK isn't hacky? It's also going to run out. I wouldn't worry much about a small string here :), but sure we can always benchmark. More important is to enable the SDK to clean up code around this.

@ebuchman ebuchman merged commit f471fc4 into develop Oct 6, 2018
@ebuchman ebuchman deleted the bucky/codespace branch October 6, 2018 13:20
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.

None yet

4 participants