Mykhailo Donchenko

Results 45 comments of Mykhailo Donchenko

> Is there any update on this PR? Are you running into same issue?

https://github.com/osmosis-labs/test-tube/issues/50#issuecomment-1958579871 @iboss-ptk I would like to contribute on this! Would you prefer just always lossy string or different error type if it's non-utf8?

> Hey! Wonder what creates non-utf8 content, what does that look like? The error that is in description was from smart contract trying to use authz grant, but that grant...

It also can corrupt state, in such cases: ```json { "juno": { "juno-1": { "code_ids": {}, "test": { "test0": "test-0", } "te} : "test-3" } } } } ```

> This is particularly crucial when using daemons that interact with different chains ! This is also needed when interacting with 1 chain

> It also can corrupt state, in such cases Update: seems like it was because of mid-way aborted thread.

@Kayanski wrote a quick proof of concept implementation, that don't break any existing test as well as succeeds the new multi-threaded ones

> I'm a bit confused by the global `Mutex`. It seems like you're using a locking library (`lock-file`) but then added your own locking solution on top. Why did you...

> So if I understand this PR correctly the JSON state file will be locked when the `Daemon` is constructed? Any other threads that attempt to construct a `Daemon` will...