Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Update eip1085 schema to enforce account formatting #2086

Merged
merged 1 commit into from
Oct 23, 2020

Conversation

njgheorghita
Copy link
Contributor

@njgheorghita njgheorghita commented Oct 20, 2020

What was wrong?

In jsonschema a "propertyNames" field is required to enforce that all of an object's keys conform to a pattern. Without this addition to the jsonschema - it wasn't properly enforcing that all keys in Accounts were 0x-prefixed addresses.

How was it fixed?

Added the necessary field.

To-Do

  • Clean up commit history

Cute Animal Picture

image

@njgheorghita njgheorghita force-pushed the bugfix-incomplete-schema branch 5 times, most recently from 1e6978e to d02cadf Compare October 23, 2020 09:55
@njgheorghita njgheorghita marked this pull request as ready for review October 23, 2020 11:57
@njgheorghita njgheorghita changed the title Update incomplete schema to enforce account formatting Update eip1085 schema to enforce account formatting Oct 23, 2020
@njgheorghita njgheorghita merged commit f3e782e into ethereum:master Oct 23, 2020
@njgheorghita njgheorghita deleted the bugfix-incomplete-schema branch October 23, 2020 15:55
@carver
Copy link
Contributor

carver commented Oct 23, 2020

Nice tests 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants