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

Update ANR (deep copy) #95

Merged
merged 1 commit into from
Mar 15, 2023
Merged

Update ANR (deep copy) #95

merged 1 commit into from
Mar 15, 2023

Conversation

patrick-ogrady
Copy link
Contributor

No description provided.

@patrick-ogrady patrick-ogrady merged commit 99a3472 into warp-messaging Mar 15, 2023
@patrick-ogrady patrick-ogrady deleted the update-anr-copy branch March 15, 2023 10:42
patrick-ogrady added a commit that referenced this pull request Mar 20, 2023
* add warp todos

* nits

* add verify with context stubs to block

* add warp message to execution results

* add scaffolding for storing warp messages

* create scaffold for warp manager

* add signature gatherer to block accept loop

* add to handler and client

* add basic client support for generating warp messages

* update README

* add support for identifiying context required

* Add network multi-plexing (#59)

* start work on network manager

* more progress

* making progress with the wrapped sender

* handle first method in request manager

* finish handler

* add multi-plexing over network

* fetch our public key at time of signing

* implement skeleton handling

* basic warp manager configured

* first pass at complete handler (no logging)

* update gather signatures

* update readme

* fix mocks

* add basic handling for warp messages

* add GetWarpConfig to rules

* move ChainID

* update interfaces

* add to README

* add license

* more lint

* lint passing

* update mocks

* update README with warp message

* update avalanchego version

* cleanup warp manager retry logic

* add caching for signature storage

* do basic pre-checking in parse for warp messages

* add logging to network manager

* update rules

* fix tokenvm lint

* remove unnecessary if check

* integration passing

* fix load test

* fix appResponse handler

* update logging on proposer

* fix merge

* fix merge part 2

* Implement Simple Warp Messages on TokenVM (#62)

* progress on import

* add warp transfer object

* add quick new assetID

* add reward allocation

* update incorrect configuration

* add clear callout for handling fund return

* read signers from signature

* DoS vuln to mark block as invalid with incorrect warp

* add more TODOs

* add another todo

* add to README

* add more TODOs

* add todo for dos

* add another note

* add stub for build with context

* update action interface to accept boolean of warp readiness

* wait for warp verification in block

* cleanup build/verification logic

* move warp message around

* making more progress

* cleanup tx verification

* update block handling for warp

* handle basic re-signing

* fetch missing keys if we don't have them

* chain processor passing

* add note about StateMapping

* fix empty key issue

* limit fetch frequency for warp manager

* fix vm interface

* allow type parser to take 2 args

* pass warp message to unmarshal

* use state manager

* fix unchecked err

* add base fee for warp

* naming

* update actions

* continuing to cleanup old approach

* update get asset func

* overhaul network manager (use unique requestIDs per nodeID)

* update mocks

* update type parser to have extra bool

* add warp check to registry

* remove interface changes

* add small blurb to readme

* update registry with new warp check

* more progress

* update WarpID

* only store warp info if successful

* add loan storage

* import compiles

* add some pre-verification

* override sourceID

* store native supply

* add native supply tracking

* add import/export to registry and metrics

* update required interfaces

* protect against fee overflow

* fix lint

* update tokenvm linting

* pass lint

* integration passing

* fix lint

* Add tokenvm warp e2e tests (Part 1) (#77)

* startup 2 subnets

* make startup more robust

* fix node shutdown issue

* e2e progress

* ensure warp message is initialized after emission

* progress

* progress

* add workflow timeouts

* add missing lock release

* cleanup tx init

* update digest

* fix warp message test

* handle empty warp message

* update verification override

* add export test

* add loan check

* remove ability to export warped asset that isn't a return

* add to readme

* fix lint

* add logging in skip case

* use custom ANR

* overhaul test

* up size of unit test runner

* add more logs

* use fixed bytes for decode

* more debugging

* fix signature fetch

* blocked on waiting for context

* get to warp verify

* more logging

* more lint

* add more correctness checks on imported asset

* fix integration test

* fix e2e balance check

* more incorrect vars

* passing new tests

* add double-warp test

* remove incorrect fail case

* make logging less verbose

* update bootstrap readiness logic

* improve logging

* increase timeout

* Add tokenvm e2e tests (part 2) (#79)

* add first part of tests

* round-trip test

* lint

* remove debugging prints

* update README

* add more TODOs

* add todo for BLST portable

* Add support for "swap in" (#80)

* add parse to import

* add scaffold for swap in

* RFQ for swap

* cleanup import

* use the optional codec

* add fields to export

* add swap in test

* unify swap validity check params

* remove more println

* tweak fees

* fix lint

* more lint

* Update ANR (#82)

* update ANR

* fix logging

* ensure server data is updated

* update ANR version

* add TODO

* don't rely on duplicated response data

* Update `warpID` (#85)

* modify storage

* warpID -> warpPayloadID

* remove *WarpMessage

* update actions

* Update token-cli (#86)

* work on new methods

* improve naming

* remove old options

* keep workdir

* progress

* add basic storage

* implement import key

* update key to load all

* cleanup assets

* cleanup key

* cleanup chain

* start action migration

* cleanup transfer

* move create asset

* remove mint asset

* complete close order

* move create_order

* migrate all transactions

* add support for import asset parse

* add parsing for export

* prep import asset cmd

* add export support

* populate export action

* add auto-return support

* update gitignore

* fix scripts run

* fix lint

* emit outputs after cluster spun up

* add powered by hypersdk

* make smaller

* more testing

* keep under

* more tweaks

* add line break

* more down

* add at end

* little bigger

* break apart

* update storage and added TODO

* use first uri for now

* add another comment

* add multi-chain support

* add support for custom db path

* add duplicate protection

* close database early if not needed

* silence included error

* nit

* add string util

* all working

* Enforce Boolean Warp Verification Results (#92)

* migrate actions to use boolean for warp verification

* update actions interface

* populate error check

* update chain builder with bool

* nits

* more nits

* add note about warp verification

* add note about max

* fix integration tests

* make warp result checking more effective

* update ANR (#95)

* Finalize AWM Doc Updates + Demo (#93)

* starting main README

* make progress on main README

* updating README

* continue cleaning docs

* progress on explanation

* add warp image

* specify all things that must be handled

* finish explanation

* cleanup wording on describing what hypersdk does

* add result description

* finish main README

* more progress

* finish docs

* fix link

* prompt for chain during watch

* use prompt chain on export

* automatically perform import

* submit dummy transaction if too old

* send dummy transaction automatically

* return current chainID in defaultActor

* fix key usage

* fix builder (drop expired warp)

* cleanup chainID logs

* update demo for mint-trade

* add demo for export

* fix lint
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

1 participant