Commit acf37fe
Explorer crate (#3350)
* workspace: add explorer crate
- the logging setup is copy-pasted from jormungandr
* jormungandr: remove explorer module
* jormungandr: remove async-graphql dep from jormungandr
* jormungandr-lib: remove explorer import
* tests: remove explorer
* tests: regen explorer schema without treasury for now
having integration tests with the explorer and jormungandr will always
be good anyway, so having a way of launching an explorer in integration
tests for the purposes of testing the explorer is something that we
probably want. This is a first approximation towards that.
* tests: add explorer env var
* tests: remove explorer where necessary
* remove whitespace from autgenerated graphql schema
in order to please the editorconfig check
* port Transaction total_count fix
* add(port) ConfigParams to GraphQL
* remove enum name from variants
* reorganize imports
* explorer crate: add warp filter like in jormungandr
* circle: build explorer before running tests
* add(port) MintToken
* fix tests: use rest for current time instead of explorer
* return a Result in set_tip
this makes the code a bit more self-documenting than with a boolean,
even if the error value is not actually used here.
* remove unused Result alias
* build explorer in actions test pipeline too
* handly tally type at an earlier point
because otherwise the function will panic for public tally, as there is
no decrypted tally
* log listen address when cors is not enabled
* collect tally result instead of looping
* remove line added by mistake
* fix PersistentSequence::is_empty
it was returning the opposite value
* remove unused files
* impl From instead of TryFrom
* use Certificate::from instead of try_from
* fix tests: explorer is not a node setting anymore
* add retry when querying the explorer
to account for slow IO, or performance issues when running the test
* move explorer process spawn to JormungandrProcess
this allows using it in other tests, like in
`retire_stake_pool_explorer` and other integration tests
* remove unnecessary thread::sleep in test
* handle evm config param
by just panicking, proper suppport can be done later
* fix compilation issues
* port EvmConfig code from jormungandr
* add changelog entry
* update Cargo.lock
* port/update config_param.rs
* refactor subscriber init
* test: send explorer logs to stdout
* explorer sanity test: reduce attemps to 20
Co-authored-by: Giacomo Pasini <[email protected]>1 parent 7861428 commit acf37fe
File tree
70 files changed
+1956
-903
lines changed- .circleci
- .github/workflows
- explorer
- src
- api
- graphql
- db
- jormungandr-lib/src/interfaces/config
- jormungandr
- src
- blockchain
- explorer
- rest
- explorer
- settings
- start
- start_up
- testing
- hersir/src/builder
- jormungandr-automation
- resources/explorer/graphql
- src
- jormungandr
- configuration
- explorer
- legacy
- config
- testing
- jormungandr-integration-tests
- src
- jcli/rest
- jormungandr
- genesis
- vit
- networking
- stake_pool
- non_functional
- voting/public
- mjolnir/src/mjolnir_lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+1956
-903
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
198 | 205 | | |
199 | 206 | | |
200 | 207 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments