SeongChan Lee

Results 47 issues of SeongChan Lee

The current logger neither buffers outputs nor caches `atty::is` result. It hurts performance. See CodeChain-io/foundry#63

performance

```rust struct StructWithSingleField { field: T } impl Encodable for StructWithSingleField { fn rlp_append(&self, s: &mut RlpStream) { self.field.rlp_append(s); } } ``` can be simplified to ```rust #[derive(RlpEncodableWrapper)] struct StructWithSingleField...

good first issue
refactoring

See: https://github.com/CodeChain-io/codechain/pull/970 Everytime we need to add a trait to Client, we have to make a pile of changes to trait bounds on Client. I think we need to simplify...

refactoring

https://rr-project.org/ It records syscall to enable replayable debugging. It has some limitations like emulating multicore, requiring performance monitor feature (not supported by VirtualBox, many types of AWS instances), but I...

Current dashboard just reports whether the node is 'Running' or 'Stopped'. Sometimes it isn't sufficient to diagnosis the error. We should report when the node's best block number is far...

keystore.db is currently located in ```$PWD```. It is little bit awkward for CLIs. Boto uses AWS CLI configurations located in ```~/.aws/```, and it is overridable. Link: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/quickstart.html Git config also...

Latest LTS is nodejs 10. It supports up to ES2017 and ES2017 supports async/await natively. Then we can leverage nodejs 12's `async-stack-traces` to debug our code.

``` Expected either PlatformAddress or string but found cccqyhk4388mymckk40ctf0skgkl8nf89f6sgpzwzke at Function.ensure (.../node_modules/codechain-sdk/node_modules/codechain-primitives/src/address/PlatformAddress.ts:105:19) at .../node_modules/codechain-sdk/lib/rpc/chain.js:473:98 at new Promise () at ChainRpc.getBalance (.../node_modules/codechain-sdk/lib/rpc/chain.js:471:16) at Promise.all.addresses.map.address (.../src/CCC.ts:9:48) at Array.map () at Object.getCCCBalances (.../src/CCC.ts:9:19)...