Skip to content

chore(deps): bump github.com/fxamacker/cbor/v2 to v2.5.0#50

Open
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/cbor-v2.5.0
Open

chore(deps): bump github.com/fxamacker/cbor/v2 to v2.5.0#50
moralpriest wants to merge 1 commit into
DEROFDN:community-devfrom
moralpriest:chore/deps/cbor-v2.5.0

Conversation

@moralpriest

Copy link
Copy Markdown

Summary

Vendored dependency bump (prep for eventual Go toolchain bump).

  • github.com/fxamacker/cbor/v2: v2.5.0 (go 1.12, latest go<=1.17). Used by p2p (chunk_server, rpc_cbor_codec) and rpc for CBOR encoding.

Solo PR (per review: encoding split from storage). All go <= 1.17 — clean standalone.

Verification

  • go build ./... green (vendored at vendor/github.com/fxamacker/cbor/v2 — the /v2 major-version suffix stays in the import path).
  • go test ./...: cbor's own suite and the p2p/rpc importers both pass. Only pre-existing failure is Test_Payload_TX (walletapi, reproduced identically on clean community-dev).
  • derod --testnet starts, logs cleanly (no errors/panics).

Follow-ups

Remaining go<=1.17 vendored-dep candidates: metrics (VictoriaMetrics+histogram), env, go-colorful, pkg/profile, kcp-go, robfig/cron. (cespare/xxhash deferred as consensus-critical; tjfoc/gmsm unused; blang/semver + go.uber.org/atomic already at latest; go-logr/zapr deferred until logr v1.2.4 / PR #46 lands.)

Vendored dependency bump (prep for eventual Go toolchain bump).

- github.com/fxamacker/cbor/v2: v2.5.0 (go 1.12, latest go<=1.17).
  Used by p2p (chunk_server, rpc_cbor_codec) and rpc packages for
  CBOR encoding.

Note: vendored at vendor/github.com/fxamacker/cbor/v2 (the /v2
major-version suffix must stay in the import path).

Verification:
- go build ./... green.
- go test ./...: cbor's own suite and the p2p/rpc importers pass.
  Only pre-existing failure is Test_Payload_TX (walletapi, reproduced
  on clean community-dev).
- derod --testnet starts, logs cleanly (no errors/panics).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant