diff --git a/gnovm/stdlibs/generated.go b/gnovm/stdlibs/generated.go index fd28a8b0b68..67be9e8f3de 100644 --- a/gnovm/stdlibs/generated.go +++ b/gnovm/stdlibs/generated.go @@ -1015,19 +1015,21 @@ var initOrder = [...]string{ "bytes", "strings", "bufio", + "crypto/cipher", "encoding/binary", "math/bits", "math", + "strconv", + "time", + "testing", + "encoding/hex", "crypto/chacha20/chacha", - "crypto/cipher", "crypto/chacha20", - "strconv", "crypto/chacha20/rand", "crypto/ed25519", "crypto/sha256", "encoding", "encoding/base64", - "encoding/hex", "hash", "hash/adler32", "html", @@ -1039,8 +1041,6 @@ var initOrder = [...]string{ "regexp/syntax", "regexp", "std", - "testing", - "time", "unicode/utf16", } diff --git a/misc/genstd/package_sort.go b/misc/genstd/package_sort.go index 575f56d9506..930a09dc416 100644 --- a/misc/genstd/package_sort.go +++ b/misc/genstd/package_sort.go @@ -37,8 +37,7 @@ func sortPackages(pkgs []*pkgData) []string { if slices.Contains(res, imp) { continue } - if pkg.importPath == "testing" && - slices.Contains(nativeInjections, imp) { + if slices.Contains(nativeInjections, imp) { continue }