Migrate package imports from next.orly.dev to new orly domain structure; add new varint and binary encoders with comprehensive tests; enhance existing tag and envelope implementations with additional methods, validations, and test coverage; introduce shared test.sh script for streamlined testing across modules.

This commit is contained in:
2025-08-31 16:52:24 +01:00
parent 94383f29e9
commit 91d95c6f1a
202 changed files with 12803 additions and 420 deletions

View File

@@ -8,8 +8,8 @@ import (
"encoding/hex"
"testing"
"next.orly.dev/pkg/crypto/ec/base58"
"next.orly.dev/pkg/utils"
"crypto.orly/ec/base58"
"utils.orly"
)
var stringTests = []struct {

View File

@@ -8,7 +8,7 @@ import (
"bytes"
"testing"
"next.orly.dev/pkg/crypto/ec/base58"
"crypto.orly/ec/base58"
)
var (

View File

@@ -7,7 +7,7 @@ package base58
import (
"errors"
"next.orly.dev/pkg/crypto/sha256"
"crypto.orly/sha256"
)
// ErrChecksum indicates that the checksum of a check-encoded string does not verify against

View File

@@ -7,7 +7,7 @@ package base58_test
import (
"testing"
"next.orly.dev/pkg/crypto/ec/base58"
"crypto.orly/ec/base58"
)
var checkEncodingStringTests = []struct {

View File

@@ -7,7 +7,7 @@ package base58_test
import (
"fmt"
"next.orly.dev/pkg/crypto/ec/base58"
"crypto.orly/ec/base58"
)
// This example demonstrates how to decode modified base58 encoded data.