mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 990 forks source link

Update `core` references in grin_store crate to `grin_core` #3771

Closed yeastplume closed 1 year ago

yeastplume commented 1 year ago

Trying to merge a wallet PR (and ending up in a rabbit hole), the latest version of the thiserror crate is implicitly referencing rust's core library, while the grin_store crate was also using the identifier core to reference grin_core. This updates grin_store's grin_core import to be explicit and resolve the error.

We probably shouldn't have used the name core, (see https://github.com/rust-lang/cargo/issues/7760), but I think we'll be fine since we're exporting the crate as grin_core.

Reason for change: see https://github.com/dtolnay/thiserror/pull/255

Also updates Cargo.lock