* feat: improve proposal types, add faucet for trading asset
* chore: yarn lock update
* fix: capsule tests to avoid jsx import
* chore: throw error so that ethereum setup failure is caught
* chore: org files and add logging
* chore: revert current trading-e2e .env file
* chore: add .env.capsule for trading tests on capsule
* chore: remove unused nx command
* chore: remove try catchs and allow errors to be caught by cypress
* chore: add slow tag for capsule test
* feat: move create market setup to libs/cypress
* chore: clearly separate vars meant for capsule with vars meant for non-capsule
* feat: remove hardcoded urls and use config obj
* chore: fix missing comma in genesis.tmpl
* chore: added limit order edit price test
* chore: remove encoding of transaction, update proposal tx trigger ratio to string
* chore: fix date and add date verification for update order
* chore: formatting fix
* chore: adjust trading app tests and workflows to be run in capsule in ci (#2574)
* chore: adjust trading app tests and workflows to be run in capsule in ci
* chore: fix token tests
* chore: increase timeout as it fails in ci
* chore: move market check to before function
* chore: add capsule logs to trading
* chore: increase proposal close time, also break up script for better debugging
* chore: bump up ethereum account setup timeout
* chore: suppress fetch logs to help with debugging
* chore: revert cy wraps now with suppressed logging
* chore: decrease tick amount
* chore: promise with timeout for better debugging
* chore: bump individual timeouts
* chore: bump timeout for tx wait promises
* chore: minor fix
* fix: leave Promise<any>
* fix: leave Promise<any>
* chore: fix home fail
Co-authored-by: Joe <joe@vega.xyz>
Co-authored-by: Dariusz Majcherczyk <dariusz.majcherczyk@gmail.com>
Co-authored-by: Radosław Szpiech <szpiechrados@gmail.com>
Co-authored-by: Madalina Raicu <madalina@raygroup.uk>
* frontend-monorepo-633: Oracles in block explorer - initial oracles page and router setup
* frontend-monorepo-633: Oracles in block explorer - added generated types file
* Feat/633: Cleanup for MVP1
* Feat/633: Cleanup of route name
* feat: unhardcode contract addresses
* fix: linting and tests
* feat: switch contract usage in token app to use unhardcoded addresses
* chore: remove other usage of hard coded contract addresses
* feat: convert contracts to classes, update claim contract to fix circular dependency
* feat: add hard coded contract addresses to contracts page
* fix: misc tidy up
* chore: rename ethers big num conversion func
* fix: remove pending transactions modal
* chore: add single toBigNum function that can accept number string or EthersBignNumber
* chore: delete unused tranche helpers and decimals functions from smart contracts lib
* feat: add faucetable token class
* fix: reset tx state after early exit from approve tx
* feat: re add transaction modal using zustand store
* fix: loader colors for eth wallet
* fix: pass ethereum config to gurantee existence before tx execution
* add docker image for building explorer
* add arg
* env file changes
* add docker file to build env file
* add requirement for env file in explorer
* fix env file syntax
* containers functional
* default to testnet
* make env flag logic consistent in all places
* pre populate env file
* ensure working for all projects
* address PR comment
* generalising env for token
* invert config dependency from ui toolkit
* fix: merge issues
* docs: running containers documentation
* style: lint
* fix: env varibales not being added properly
* chore: fix merge issues
* chore: fix docker file to support new exectutors
* chore: set address on all contracts as a property
* feat: pull token from contract rather than relying on env var
* chore: fix typing
* chore: remove duplicated prop
* chore: don't use chainId
* style: lint
* style: lint
* Merge branch 'master' into feat/dockerize-frontends
* Merge remote-tracking branch 'origin/master' into feat/dockerize-frontends
* test: revert changes to explorer e2e file
* fix: creating client without base causing token to error
* test: fix tests erroring in before hook due to file not being found
* chore: remove node env from configurable flags
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* begin capsule workflow
* remove workflow file we don't want to run while debugging
* vheckout all require repos
* checkout repos to a directory each
* correct branch names
* rename workflow
* fix incorrecr branch name
* begin building binaries
* typo
* remove tests we don't want running while debugging
* remove tests we don't want running while debugging
* typo
* incorrect path
* comment out frontend checkout
* don't install as not done in example script
* add required environement variables
* change paths
* comment out FEM checkout
* check binary built properly
* path stuff
* silly mistake
* use relaive path
* correct working directory
* fix all paths
* debugging
* bump go verion
* fix path
* fix all paths
* fix cannot find config error
* add back in fe stuff
* move cehckout to where it is used
* revert accidentally committed change
* try install over build
* use v3 of action
* export as per action
* debugging
* don't pass path to install
* chnage go install
* change order
* pwd
* pwd
* see what happens without dn
* don't use relative path
* build correct paths
* remove checks as working
* make epxlorer run against locla capsule
* fix incorrect env file
* fix tests
* fixing tests
* trying for green run
* trying for green run
* bump timeout
* check tm endpoints
* configure to use the second tender mint node
* ci: add logs out
* ci: change paht
* ci: set env var correctly
* ci: remove wait for blockChain request
* ci: make test value assertions more robust
* ci: make test value assertions more robust
* chore: minor typo
* ci: add back test and lint scripts
* ci: comment out unused pipeline for now
* ci: break up job into steps
* ci: run all tests and pray it works
* ci: just use local vega wallet
* ci: not building it any more, use go installed bin
* ci: derive hashes properly
* ci: move existing folow into nightly
* ci: run nightly for all tests
* ci: use install bins
* ci: add missing flag
* ci: gobin
* ci: debugging
* ci: echo gopath
* ci: wrong syntax?
* ci: one last time?
* ci: try something else
* ci: try other things
* ci: again
* ci: move var to github env
* ci: set gobin
* ci: syntax
* ci: test out nightly
* ci: switch back nightly to posix
* ci: force network bootstrap
* ci: fix stupid mistake, pass falg to command not name
* ci: put test back
* ci: run on push as well as on pr
* ci: always upload logs if possible
* ci: import config from capsule rather than testnet
* Update apps/explorer-e2e/cypress.json
* test: fix failing test now we are using binaries
* ci: correct URL
* Making a start with react-window-infinite-loader for the blocks infinite scrolling
* WIP block explorer infinte scroll
* WIP pairing
* pairing tidying
* Applied refetch url params more cleanly, moved useFetch to react-helpers lib
* Add notice of new blocks created since page load, some cleanup of blocks-infinite-list.tsx component
* Attempting a refresh of the 'new blocks' value in blocks-refetch.tsx
* Correctly updating state based on previous value
* Update libs/react-helpers/src/hooks/use-fetch.ts
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Update libs/react-helpers/src/hooks/use-fetch.ts
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Update apps/explorer/src/app/components/blocks/blocks-refetch.tsx
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* Cleanup from convos and PR
* Prettier formatting
* struggling with websocket tests
* struggling with websocket tests
* Progress on websocket tests for blocks-refetch.tsx
* Tests for blocks-refetch
* Tests for blocks-infinite-list
* Scroll test for blocks-infinite-list
* Defined NOOP in blocks-infinite-list.tsx
* Separate web sockets for each test
* Separate web sockets for each test
* Tweaked e2e tests to account for blocks taking longer to load
* fix tests
* Removed nx knowledge of empty simple-trading-app-e2e for now
* mock at use fetch level instead of at fetch level
* fix edge cases and add further tests
* fix failing e2e tests
* rename test
* Update apps/explorer-e2e/src/support/pages/blocks-page.ts
* Update apps/explorer-e2e/src/support/pages/blocks-page.ts
* rename
* test: use explicit wait for rather than times
* style: remove console
* test: correct env file
* Revert "test: correct env file"
This reverts commit d01d3cfa5e.
* think env var is incorrect
* correct env file
* fix flakiness
* add minor wait for test flakiness
* longer timeout
Co-authored-by: Dexter <dexter.edwards93@gmail.com>
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
* begin adding sentry
* add sentry webpack config
* rename environment variable
* make sourcemaps work for sentry
* set environmenet based on vega environment
* rename envs
* remove throw error button