WIP: Nitro integration #65

Closed
roysc wants to merge 38 commits from roy/dev-nitro-bank into main
38 Commits
Author SHA1 Message Date
roysc 8d76dc0f2a [wip] nitrobank module
Unit Tests / test-unit (pull_request) Failing after 22s
SDK Tests / sdk_tests_authority_auctions (pull_request) Failing after 1m58s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Failing after 1m51s
SDK Tests / sdk_tests (pull_request) Failing after 1m52s
Protobuf / lint (pull_request) Failing after 7s
Integration Tests / test-integration (pull_request) Failing after 26s
Build / build (pull_request) Failing after 28s
E2E Tests / test-e2e (pull_request) Failing after 27s
2025-02-13 11:41:58 +08:00
roysc 61a6b406f7 update docker base image for go version 2025-02-13 11:41:58 +08:00
roysc 77f9a956f2 [wip] nitro p2p 2025-02-13 11:41:58 +08:00
roysc 634bc06aff app, cmd: sdk updates 2025-02-13 11:41:58 +08:00
roysc 10410ad61b [wip] nitro p2p integration 2025-02-13 11:41:58 +08:00
roysc 64d1a6d283 [wip] nitro server 2025-02-13 11:41:58 +08:00
roysc 01204261b7 [wip] integrate DKG and DSS 2025-02-13 11:41:58 +08:00
roysc fa9a7dfbad fix app keyring init 2025-02-13 11:41:58 +08:00
roysc 2cc9d2749b app test 2025-02-13 11:41:58 +08:00
roysc 8f8e462397 onboarding keeper: return nil for party not found 2025-02-13 11:41:58 +08:00
roysc eb94500f70 [wip] nitro bank, server 2025-02-13 11:41:58 +08:00
roysc f69db263b0 go.mod update, go 1.23.4 2025-02-13 11:41:58 +08:00
roysc 2c083b0147 sdk update 2025-02-13 11:41:58 +08:00
roysc 92e3a4d8f4 bump protobuf version
update protobuf usage

note:
2025/01/15 13:16:22 Message cerc.registry.v1.Record contains the reserved field name cerc.registry.v1.Record.type which conflicts with protoreflect.Message interface implementation.
This field will be suffixed with an underscore '_'.
If you can change the message field name, please do so.
In a future iteration of pulsar we may make a breaking change to this practice in order to be compliant with field naming of the original golang protobuf implementation.
2025-02-13 11:41:58 +08:00
roysc a893396cc3 [dev] go mod dev geth 2025-02-13 11:41:58 +08:00
roysc 9b1e34a089 [todo] mv tests depending on removed sdk testutils 2025-02-13 11:41:58 +08:00
roysc fce00cb5a7 [wip/dev] dockerfile 2025-02-13 11:41:58 +08:00
roysc 2cb51c6537 clean up bond module 2025-02-13 11:41:58 +08:00
roysc ee196716dd [debug] debug init.sh 2025-02-13 11:41:58 +08:00
roysc 49a9af72d5 nitro server fixes
inject logger into slog for nitro
2025-02-13 11:41:58 +08:00
roysc ba0ba384fc init.sh updates
use toml config parser

- don't name key "alice"

init.sh nitro config
2025-02-13 11:41:58 +08:00
roysc 054a7f2c6a nitro server clean up
go mod update
2025-02-13 11:41:58 +08:00
roysc f0f96bc28e [wip] gql server fixes
run gql server

gql cleanup
2025-02-13 11:41:58 +08:00
roysc c48710ab82 [dev] docker build with mod path trick 2025-02-13 11:41:58 +08:00
roysc 9f9ea539a9 system test clean up 2025-02-13 11:41:58 +08:00
roysc 4003a44d20 [wip] nitro bank, server
go mod update for nitro

[wip] nitro.Service

[wip] run protocgen

[wip] nitrobank account
2025-02-13 11:41:58 +08:00
roysc 92ae93ef45 sdk update refactor
go mod update
2025-02-13 11:41:58 +08:00
roysc 41c6d26ec9 fix address encoding 2025-02-13 11:41:58 +08:00
roysc 78da408563 [wip: convert to system test] remove tests/e2e
fix integration test
2025-02-13 11:41:58 +08:00
roysc b55e05e4ec [wip] laconic module fixes
- msg & query servers

- clean up logging, errors

- don't use sdk global config
2025-02-13 11:41:58 +08:00
roysc 72a93dec2f refactor for sdk update
- register crypto types

- fix app codec

eager config and cli init

[wip] fix app cli

[wip] new msg handler registration (bonds)

clean up module autocli: use <> for required positional args

system tests

- registry

[wip] system tests fix, refactor

registry tests

TransferCoinsToModuleAccount: clarify function
2025-02-13 11:41:58 +08:00
roysc 8ccf602c63 [wip] update init script
- portability on darwin
- pass bin and home paths
- set -e

go mod update
2025-02-13 11:41:58 +08:00
roysc 8241f964b0 [wip] refactor 2025-02-13 11:41:58 +08:00
roysc f85ec5ca1f replace sdk.Context with context.Context
refactor to add inputs via depinject
2025-02-13 11:41:58 +08:00
roysc ce67b678ce add testnet command 2025-02-13 11:41:58 +08:00
roysc dd39fb2365 [wip] refactor laconic app cli
- use runtime, server v2

- move generic tx decoder to utils
2025-02-13 11:41:58 +08:00
roysc c7e0753f08 [wip] update e2e integration tests
- use sdk testutil/network

- refactor e2e tests

- gomock -> uber gomock
2025-02-13 11:41:58 +08:00
roysc e5a085642c refactor app & modules
- makefile clean up

- replace cosmos-sdk

- upgrade cosmos-sdk to v1.0.0

- replace cometbft

refactor cli + app init

- rm crisis module

- use custom address codec

- app setup, depinject fixes

- improve errors
2025-02-13 11:41:58 +08:00