Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

Conversation

@Fang-
Copy link
Contributor

@Fang- Fang- commented Feb 21, 2019

Relevant Ethereum JSON RPC docs section.

Rather than a flat list of topics to watch for, it is an indexed/ordered list of topics to watch for in those specific positions. As such, items in that list may either be:

  • zero (null, matches any topic in that position)
  • non-zero (matches one specific topic in that position)
  • a list of topics (matches any one of those topics in that position)

Additionally, topics are always specified using 32 bytes, so there is no need to specify length explicitly.

Rather than a flat list of topics to watch for, it is an indexed list
of topics to watch for in those specific positions. As such, items in
that list may also be zero (null, matches any topic), or a list of
topics (matches any one of those topics).

Additionally, topics are always specified using 32 bytes, so there is
no need to specify length explicitly.
@Fang- Fang- added the %zuse label Feb 21, 2019
@Fang- Fang- requested a review from philipcmonk February 21, 2019 12:30
@Fang- Fang- changed the base branch from master to next February 21, 2019 12:30
Copy link
Contributor

@philipcmonk philipcmonk left a comment

Choose a reason for hiding this comment

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

Good stuff

@Fang-
Copy link
Contributor Author

Fang- commented Feb 21, 2019

I updated the hoon structures for incoming Ethereum state to also match. @philipcmonk and I discussed the solution for this out of band. Please confirm this is in line with that and looks sane.

image

god I love MS-era Github

@Fang- Fang- requested a review from philipcmonk February 21, 2019 21:43
Copy link
Contributor

@philipcmonk philipcmonk left a comment

Choose a reason for hiding this comment

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

Yep, i.topics.log is better

@Fang- Fang- merged commit 04d2117 into next Feb 22, 2019
@Fang- Fang- deleted the eth-rpc-topics branch February 22, 2019 13:08
@ixv ixv mentioned this pull request Mar 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants