Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This updates the "update" task, which takes a pre-existing arbified list as its input and ensures its up to date (which amounts to checking that each tokens gateways haven't changed).
(Compare to the "arbify" task which takes an L1 token list as its input and outputs an arbified list).
This PR let's the "includeOldDataFields" param be passed in via the command line; this preserves any data field in the extensions not included in the uniswap standard, for e.g. backwards compatibility (there are 3 for our whitelist era list).
It also allows a new "preserveListName" option (i.e., use the same old list name for the new, outputted list) which is (obviously) what we want for the update task (vs. for arbify where we give the list a new name).
We add the update task to /ArbTokenLists/arbed_arb_whitelist_era.json which indeed is the whitelist era list, live on the sever.
(The way list names / files name are handled can def be re-thought/simplified for the refactor)
fixes #51