Dawid Szlachta
Dawid Szlachta
In the JSON produced by `chifra`, numbers can exceed JavaScript's `Number.MAX_SAFE_INTEGER`. We should use strings for big numbers, as JSON does not have BigInt or any other BigNum type.
### What is a command file A command file is a file containing command line options (commands) and/or identifiers (e.g. transaction hashes). Example 1, single command only ``` --verbose --fmt...
In `config` package, we have two different ways of parsing TOML configuration files. - `root_config.go` uses `viper` - `block_scrape.go` uses `github.com/BurntSushi/toml` Additionally, `block_scrape.go` reads values from environment variables using custom...
It seems like support for non-archive and non-tracing nodes got lost in translation while moving code to Go. If this is correct, we should decide to either bring it back...
Currently our algorithm for detecting if the node is tracing is as follows: - Get trace for block number X - If error node is not tracing (defined in https://github.com/TrueBlocks/trueblocks-core/blob/master/src/apps/chifra/pkg/rpc/is_node.go#L41)...
We already have config tool in our DAppNode repo, we can move it here to be integral part of our Docker image. However, there are some features missing in the...
We currently use a package called Viper to read the configuration (TOML file and environment variables). However, it has one (at least) irritating issue - it only reads environment variables...
Replaces Viper package with koanf. `koanf` is pretty nice, but for writing the file we need to use the underlying TOML library directly. This gives us ability to keep comments...
Send functionality allows `chifra state` to write to the chain. We already have calling syntax, e.g. `chifra state --call afunction(aParam) myContract` which seems to fit here as well. To handle...