diff --git a/.changeset/config.json b/.changeset/config.json index 54cfdc61..591e0815 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@3.0.0/schema.json", "access": "public", "baseBranch": "main", - "changelog": ["@changesets/changelog-github", { "repo": "wevm/stdeth" }], + "changelog": ["@changesets/changelog-github", { "repo": "wevm/ox" }], "commit": false, "fixed": [], "ignore": [], diff --git a/README.md b/README.md index 970db732..4fab27c7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# stdeth +# ox Ethereum Standard Library \ No newline at end of file diff --git a/package.json b/package.json index f3c56dd1..121f95ad 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "stdeth", + "name": "ox", "type": "module", "scripts": { "bench": "vitest -c ./test/vitest.config.ts bench", diff --git a/src/internal/data/concat.bench.ts b/src/internal/data/concat.bench.ts index 4fa4e430..d00c700d 100644 --- a/src/internal/data/concat.bench.ts +++ b/src/internal/data/concat.bench.ts @@ -1,10 +1,10 @@ import * as ethjs from '@ethereumjs/util' import * as ethers from 'ethers' -import { Data } from 'stdeth' +import { Data } from 'ox' import { bench, describe } from 'vitest' describe('concat (bytes)', () => { - bench('stdeth', () => { + bench('ox', () => { Data.concat( Data.randomBytes(64), Data.randomBytes(64), @@ -34,7 +34,7 @@ describe('concat (bytes)', () => { // TODO: random hex describe('concat (hex)', () => { - bench('stdeth', () => { + bench('ox', () => { Data.concat( '0xdeadbeefdeadbeefdeadbeef', '0xdeadbeefdeadbeefdeadbeef', diff --git a/src/internal/data/concat.test.ts b/src/internal/data/concat.test.ts index 4d617696..52192675 100644 --- a/src/internal/data/concat.test.ts +++ b/src/internal/data/concat.test.ts @@ -1,4 +1,4 @@ -import { Data } from 'stdeth' +import { Data } from 'ox' import { expect, test } from 'vitest' test('default', () => { diff --git a/src/internal/data/random.bench.ts b/src/internal/data/random.bench.ts index 60381c0d..21e1f8c3 100644 --- a/src/internal/data/random.bench.ts +++ b/src/internal/data/random.bench.ts @@ -1,10 +1,10 @@ import * as ethjs from '@ethereumjs/util' import * as ethers from 'ethers' -import { Data } from 'stdeth' +import { Data } from 'ox' import { bench, describe } from 'vitest' describe('randomBytes', () => { - bench('stdeth', () => { + bench('ox', () => { Data.randomBytes(128) }) diff --git a/src/internal/data/random.test.ts b/src/internal/data/random.test.ts index 655ca556..c1ecff2c 100644 --- a/src/internal/data/random.test.ts +++ b/src/internal/data/random.test.ts @@ -1,4 +1,4 @@ -import { Data } from 'stdeth' +import { Data } from 'ox' import { expect, test } from 'vitest' test('randomBytes', () => { diff --git a/src/jsr.json b/src/jsr.json index d2f39434..ccdb58d3 100644 --- a/src/jsr.json +++ b/src/jsr.json @@ -1,5 +1,5 @@ { - "name": "@wevm/stdeth", + "name": "@wevm/ox", "version": "0.0.0", "publish": { "include": ["LICENSE", "README.md", "CHANGELOG.md", "**/*.ts"], diff --git a/src/package.json b/src/package.json index a5d5c9be..615b7358 100644 --- a/src/package.json +++ b/src/package.json @@ -1,5 +1,5 @@ { - "name": "stdeth", + "name": "ox", "description": "Ethereum Standard Library", "version": "0.0.0", "type": "module", @@ -30,7 +30,7 @@ }, "license": "MIT", "homepage": "https://wevm.dev", - "repository": "wevm/stdeth", + "repository": "wevm/ox", "authors": ["awkweb", "jxom"], "funding": [ { diff --git a/test/vitest.config.ts b/test/vitest.config.ts index 1c841efb..29ad5134 100644 --- a/test/vitest.config.ts +++ b/test/vitest.config.ts @@ -4,7 +4,7 @@ import { defineConfig } from 'vitest/config' export default defineConfig({ test: { alias: { - stdeth: join(__dirname, '../src'), + ox: join(__dirname, '../src'), '~test': join(__dirname, '../test/src'), }, benchmark: { diff --git a/tsconfig.json b/tsconfig.json index 308045f7..1beca0b8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "baseUrl": ".", "paths": { "~test/*": ["./test/*"], - "stdeth": ["src/index.ts"] + "ox": ["src/index.ts"] } } }