forked from filecoin-project/go-address
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SubnetID compatibility with Rust. New spec for f04 address #1
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is a pretty common helper library, so we'd like it to work everywhere.
chore: fix test on 32bit and non-cgo platforms
…/sync sync: update CI config files
…de-encode enforce that the trailing bits of an address string are standard
add more tests to TestInvalidStringAddresses
…de-rebase add more checks and define constants
(officially)
adlrocha
changed the title
SubnetID compatibility with Rust. WIP for f04 hierarchical addr
SubnetID compatibility with Rust. New spec for f04 address
Jun 28, 2022
dnkolegov
reviewed
Jun 29, 2022
Suggested version: Changes in diff --git a/go.mod b/go.mod
index bd06a91..371755c 100644
--- a/go.mod
+++ b/go.mod
@@ -1,6 +1,6 @@
module github.com/filecoin-project/go-address
-go 1.13
+go 1.17
require (
github.com/filecoin-project/go-crypto v0.0.0-20191218222705-effae4ea9f03
@@ -12,3 +12,23 @@ require (
github.com/whyrusleeping/cbor-gen v0.0.0-20210303213153-67a261a1d291
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
)
+
+require (
+ github.com/davecgh/go-spew v1.1.1 // indirect
+ github.com/ipfs/go-block-format v0.0.2 // indirect
+ github.com/ipfs/go-cid v0.0.6 // indirect
+ github.com/ipfs/go-ipfs-util v0.0.1 // indirect
+ github.com/ipfs/go-ipld-format v0.0.1 // indirect
+ github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 // indirect
+ github.com/minio/sha256-simd v0.1.1-0.20190913151208-6de447530771 // indirect
+ github.com/mr-tron/base58 v1.1.3 // indirect
+ github.com/multiformats/go-base32 v0.0.3 // indirect
+ github.com/multiformats/go-base36 v0.1.0 // indirect
+ github.com/multiformats/go-multibase v0.0.3 // indirect
+ github.com/multiformats/go-multihash v0.0.13 // indirect
+ github.com/pmezard/go-difflib v1.0.0 // indirect
+ github.com/spaolacci/murmur3 v1.1.0 // indirect
+ golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8 // indirect
+ golang.org/x/sys v0.0.0-20190412213103-97732733099d // indirect
+ gopkg.in/yaml.v2 v2.2.4 // indirect
+)
|
This was referenced Jun 30, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Working on making
SubnetID
andf04
addresses compatible with their Rust counterpart living at: https://github.com/filecoin-project/ref-fvm. Adhering to new HC spec: https://github.com/protocol/ConsensusLab/blob/hc/spec/specs/hierarchical_consensus.mdf04
adress