Dexter Edwards
d6583f5969
chore: sepolia migration ( #1517 )
...
* chore: seoplia migration
* fix: remove trailing slash from etherscan urls
* fix: make mock assets for withdraw form real assets so working with infura works
* chore: remove stray screen.debug
* fix: global mocks for chainid
* fix: add additional chain id mock for withdrawals page
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
2022-10-04 15:24:27 -07:00
Matthew Russell
4ed623c84c
feat#873): wallet service v2 ( #1349 )
...
* feat: update connect dialog to handle api v2
* feat: better error handling
* feat: update to only use strings for pubkey, add json rpc connector
* feat: make json connector follow same patterns as rest connector
* feat: add ability to change wallet location
* feat: add chain id fetch
* feat: improve types
* feat: adjust send tx types
* chore: remove dialog title and chain check temporarily
* feat: additional UI and error handling
* feat: rename keypair and keypairs to pubKey and pubKeys
* feat: make rest and json rpc connectors return consistent data
* feat: rename derived ids more clearly
* feat: update send_transaction response type
* chore: fix tests after context name change
* feat: add utils for wallet, add encode tx func
* feat: return null if tx is rejected
* feat: fix up styles for connect buttons
* feat: handle wallet version check
* feat: add chain id check
* chore: rename select pub key function to match, fix tests
* fix: tests for rest connector form
* feat: add tests for json rpc flow
* feat: connect dialog changes
* chore: change status to enum to avoid magic strings
* feat: add custom icons and handle provided key name
* chore: update global wallet connection e2d tests
* chore: change zod validation to only expected required values
* chore: ignore new generated code files
* chore: fix typos and add translations
* chore: set hosted wallet via env var and only show if not mainnet
* feat: add functionality for try again button
* test: fix failing tests
* chore: fix lint and test
* chore: remove double import
* chore: make console-lite-e2e strict so json connector compiles correctly
* chore: make token e2e tsconfig strict
* chore: make stats-e2e tsconfig strict
* feat: update json rpc request namespace
* feat: simplify connector setup, support try again
* chore: remove comment
* fix: build errors
* chore: make chainId check optional based on presence of appChainId, mock request for tests
* chore: mock chain id request for all apps on all pages
* fix: footer border on small screens
* fix: use beforeEach for chainId query mock
* chore: remove optional chain check, prevent rendering until fetch is complete
* chore: update NX_VEGA_WALLET_URLs as the application now appends the base path, adjust token tests
* fix: token e2e test that checks for pubkey name
* chore: remove duplicated test, update wallet title assertion
* fix: token tests
* fix: token e2e assertions
* fix: withdraw test
* feat: enable json RPC for token
* fix: sendTx command now accpets pubkey as separate arg
* fix: test to use gui option temporarily
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-10-03 11:12:34 -07:00
Matthew Russell
4af10977d0
chore: remove stagnet1, fix env vars for api endpoints ( #1163 )
2022-08-25 17:07:27 -07:00
Dexter Edwards
c70a273e0b
feat: 0.54.0 ( #949 )
...
* chore: remove stagnet2, add stagnet3
* fix: types for transaction order submission (#932 )
* test: add night runs again (#917 )
Co-authored-by: Rado <rado@vegaprotocol.io>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Feat/893 anchor per network param (#907 )
* feat: highlight network param targeted by anchor
* Feat/893: Highlighted key-value row colours
* Feat/893: Removed unneeded important bangs
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
* Fix/687: Jump to block input should not allow negative block numbers or 0 (#918 )
* Fix/687: Jump to block input should not allow negative block numbers
* Fix/687: Jump to block input should have a minimum of 1
* fix: text and theme icon colors (#920 )
* Fix/eager connection (#923 )
* fix: eager connect
* chore: add comment for eslint disable
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Task/Remove vegawallet service api client (#916 )
* chore: remove generated vegawallet client code and implement in rest connector
* feat: add zod validation
* feat: handle specific auth/token delete case
* feat: make withdraw dialog match vega tx dialog
* fix: response stub to be right shape, add content type to requests
* chore: revert unrelated classname change
* feat: [console-lite] - fixes in order margin calcs (#891 )
* feat: [console-lite] - fixes in order margin calcs
* feat: [console-lite] - fixes in order margin calcs - fix decimals
* feat: [console-lite] - fixes in order margin calcs - add unit tests
* feat: [console-lite] - fixes in order margin calcs - improve cals
* feat: [console-lite] - fixes in order margin calcs - improve cals
* feat: [console-lite] - fixes in order margin calcs - more improvements
Co-authored-by: maciek <maciek@vegaprotocol.io>
* fix: make check link unclickable while loading (#928 )
* fix: make check link unclickable while loading
* fix: format
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix/904: Validators sorting (#913 )
* fix(790): gap between orderbook headers and tabs (#929 )
* feat: show correct reward type (#930 )
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Task/remove vegawallet service (#926 )
* feat: improve error handling
* chore: lint
* fix: cypress test incorrect assertion
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: update tranches
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: order transaction types
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Rado <rado@vegaprotocol.io>
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
Co-authored-by: Sam Keen <samuel@vegaprotocol.io>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: macqbat <kubat.maciek@gmail.com>
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: asiaznik <artur.siaznik@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* test: fix test import
* chore: resolve bad merge files
* chore: begin enum changes
* test: fix the majority of the tests
* test: fix tests
* style: lint
* fix: update enums
* fix: adjusted tests to updated enums
* ci: bump capsule
* fix: temporarily skip failing staking tests
* ci: revert capsule changes
* test: fix tests for stats
* chore: merge few changes and api updates to stagnet3 updates branch (#1100 )
* chore: merge few changes and api updates to stagnet3 updates branch
* chore: [console-lite] - fast fix in unit test
Co-authored-by: maciek <maciek@vegaprotocol.io>
* test: fix broken test
* chore: change to use the new nodes rather than load balancer
* style: formatting
* style: formatting
* chore: fix env file
* fix: don't assume GQL URL path
* fix: skip positions query if there is no part
* fix: simple trading app test
Co-authored-by: botond <105208209+notbot00@users.noreply.github.com>
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Rado <rado@vegaprotocol.io>
Co-authored-by: mattrussell36 <mattrussell36@users.noreply.github.com>
Co-authored-by: Edd <edd@vega.xyz>
Co-authored-by: sam-keen <samuel.kleinmann@gmail.com>
Co-authored-by: Sam Keen <samuel@vegaprotocol.io>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: macqbat <kubat.maciek@gmail.com>
Co-authored-by: maciek <maciek@vegaprotocol.io>
Co-authored-by: asiaznik <artur.siaznik@gmail.com>
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: m.ray <16125548+MadalinaRaicu@users.noreply.github.com>
2022-08-22 15:50:13 -07:00
Dexter Edwards
994bb4cf2b
test: allow connecting to a local ganache node by signing transactions in browser ( #595 )
...
* test: allow connecting to a local ganache node by signing transactions in brower
* chore: update environment variables
* fix: disassocaition
* chore: remove redundant code
* chore: rewrite promise as async/await
* fix: approval amount too low
* chore: address PR comments
* test: fix tets
* revert changes to env file
* chore: changes as per pr comments
2022-06-24 10:07:05 +01:00
botond
69b19e4b7b
feat( #507 ): Node Discovery
...
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* feat: add network configuration files to static app
* feat: update environments to use config file instead of static node url
* refactor: split out network switcher utils
* refactor: split up environment hook
* fix: jsonify env variable for possible networks
* fix: add formatter file
* feat: add network loader component
* feat: add network loader to the trading app
* fix: assign correct global state to network swicther
* feat: add status modal
* feat: add network-switcher lib
* feat: add env variables for some deployed app urls
* feat: add network processing to environment hoook
* refactor: network handling
* refactor: remove dialog from provider and add env setter
* feat: add network switcher dialog to the trading app
* refactor: add network redirect to dialog connect callback
* fix: lint
* fix: jsonify env variable for possible networks
* fix: add formatter file
* fix: assign correct global state to network swicther
* fix: failing tests from UI changes
* feat: add environment validation
* feat: add runtime validation for network configs
* fix: readd node urls to envs to avoid breaking the apps for now
* chore: rename network swicther lib to environmnet
* fix: lint
* feat: add tests for config hook
* feat: add environment hook tests
* fix: lint
* fix: lint
* feat: add environment hook tests
* feat: add storage tests
* fix: formet
* feat: improve loading states
* fix: format
* fix: use router instead of window location
* fix: rearrange network loader props and components
* fix: remove FC type
* fix: env validation
* fix: untangle returns in network loader
* fix: add teardown for env and localstorage
* fix: add custom to env networks
* fix: lint
* fix: format
* fix: lint
* fix: remove env provider from simple trading app
* fix: remove failing promise hacks
* fix: some leftover format files
* fix: remove network switcher from tsconf
* fix: move Networks to libs/environment
* fix: add defaults for ether env vars
* feat: add tests for default ether env vars
* fix: remove chain id env var from web3 container
* fix: remove chain id from the environment
* fix: format
* fix: lint token
* fix: lint env
* fix: add comment to callout hack
* fix: lint token again
* fix: remove skip
* fix: move addresses to token app
* fix: improve schema validation errors and fix token app
* fix: lint
* fix: format
* fix: format
* fix: add network loaders to apps
* fix: format
* fix: remove logs
* fix: cypress process errors
* fix: change network loader hierarchy in token
* fix: remove stray console.log
* fix: revert test changes in simple trading app
* fix: prefix env vars with NX
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
* fix: improve schema validation errors and fix token app
* fix: format
* fix: disable lint rules for catch block any types
* fix: format again
* fix: remove redundant process.platform injections
* fix: format
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
Co-authored-by: Dexter Edwards <dexter.edwards93@gmail.com>
2022-06-21 16:20:53 -07:00
botond
a6a21bed46
Feat/427: Serve explicit environments ( #433 )
...
* feat: add env specific serve commands where appropriate for apps
* fix: typo in command call
* feat: add custom executor for serving apps
* chore: clean up project files and use the custom executor
* chore: patch readmes
* chore: split out logs into their own function
* fix: prevent overriding env when no flag passed in
* fix: add tsc to postinstall to take care of compiling the custom executors
* fix: remove the custom serve executor from trading
2022-05-23 10:56:11 +01:00
Dexter Edwards
9e82935658
Chore/more docs ( #331 )
...
* chore renable prettier md files
* remove duplicated information, add instructions on running formatting
* add more docs for other apps a libraries
* correct numbering
* Missing applications
* correction for serving
* more docs
2022-05-03 16:32:31 +01:00