KDAG Monthly Report (2023.4.01–4.30)
Technology Development:
1. GitHub code submitted 24 times, added and modified 19 files.
2. Exchange and community technical support, test network continues to develop and test
The details are as followings:
1. kdag/filters: retrieve logs in async. This change implements async log retrievals via feeding logs in channels, instead of returning slices. This is a first step to implement.
2. rpc: change BlockNumber constant values to match ethclient. Kdagclient accepts certain negative block number values as specifiers for the “pending”.
“Safe” and “finalized” block. In case of “pending”, the value accepted by kdagclient did not match rpc. PendingBlockNumber.
3. cmd/kvm: make batched state-test execution possible. Implements the ability to run several state-tests in one instance. By not providing a state test path to the KVM state test command, the path(s) will instead be read from stdin.
4. core/state: do not ignore null addr while iterative dump. Fixes a bug which caused the zero-address to be ignored during an iterative state-dump.
5. kdag/tracers: fix flatCallTracer crasher. FlatCallTracer had a crasher when it was passed onlyTopCall: true as config.
6. internal/cmdtest: increase timeout in tests. This change gives the cmd-tests have a bit more time to finish before getting forcibly torn down.
7. kdagdb/pebble: prevent shutdown-panic. This changes the pebble driver so we check that the db is not closed already, for several operations. It also adds tests to the db test-suite, so the previously implicit assumption of “not panic:ing at ops on closed database” is covered by tests.
8. rpc: more accurate checking of handler method signatures. This changes the RPC server to ignore methods using *context. Context as parameter and *error as return value type. Methods with such types would crash the server when called.
🔺Website: https://kdag.io/
🔺Twitter: https://twitter.com/KDAGFoundation
🔺Telegram: https://t.me/KingDAGGroup