-
Notifications
You must be signed in to change notification settings - Fork 8
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
ETH 1.x JSON RPC API Standards Meeting 4 Agenda #27
Comments
This is what EIP-1474 says about the block number: eth_blockNumber Parameters Returns Example Requestcurl -X POST --data '{ Response{ |
Chat content: #27 eth_blockNumber Parameters Returns Example Request Response |
General agreement to be added in EIP-3410: eth_blockNumber should return a fully validated and verified block number of the highest total difficulty chain and make a promise that if instead of receiving eth_blockNumber, the node would receive a body, header or state request for the given block number, it would be able to provide a response within a finite amount of time. we do not make a promise of for how long after the eth_blockNumber response we can serve such requests (state, body, header) |
We covered one edge case -> if genesis processing fails |
We suggested that it may be reasonable to add additional methods for querying other types of block numbers -> best known among peers, best validated, etc. |
During the Asia/Pacific timezone call we added a few comments on eth_blockNumber:
and for eth_getTransactionByHash
|
I like how browsers do it, where non-standard extensions are prefixed with the browser name. Once standardization is achieved, they get moved to a new name that doesn't have a prefix. This allows individual browsers to experiment with new tech without worry of clobbering anything in the global space. It also makes it very clear to readers whether they are working with a standardized feature or a feature only available in a particular browser. |
I think there is a difference between an array of length 0 and an undefined/null array. If you have an empty set (e.g., no parameters) then it should be an array of length 0. If you explicitly have no array for some reason (e.g., it doesn't make any sense in the context) then it should be undefined/null. In most cases, what you actually have is an empty set so in most cases |
@MicahZoltu wrote
They don't do that much any more, because people started writing code that relied on the browser-prefixed version, and that meant everyone had to implement that. (There was a webkit-something method whose name I forget that for a long time was implemented in every browser except Safari because they didn't like it much). If there is a strict policy that says those methods will stop working after a known time or event (e.g a specific network upgrade) that problem might be made small enough to allow the approach. |
I believe they still do it, for very early stuff, but users have gotten better about not suggesting their use to each other and browsers have gotten better at coming to consensus on standards quickly so you don't have features like that outstanding for a decade like we used to. 😄 |
ETH 1.x JSON RPC API Standard Meeting 4 Agenda
Europe / East Coast Edition
Wednesday 17 March 2021, 14:00 UTC.
Meeting Duration: 45 minutes
Asia / Pacific Edition
Wednesday 17 March 2021, 22:00 UTC.
Meeting Duration: 45 minutes
Agenda
We agree, we know what to build. On this meeting we will build together a sample spec page for a single method.
ethereum/EIPs#3410
Next Call:
Europe / East Coast Edition
Wednesday 31 March 2021, 14:00 UTC.
Asia / Pacific Edition
Wednesday 31 March 2021, 22:00 UTC.
The text was updated successfully, but these errors were encountered: