Skip to content

Commit

Permalink
chore: ox
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Aug 13, 2024
1 parent 16c3792 commit 984e2b9
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"access": "public",
"baseBranch": "main",
"changelog": ["@changesets/changelog-github", { "repo": "wevm/stdeth" }],
"changelog": ["@changesets/changelog-github", { "repo": "wevm/ox" }],
"commit": false,
"fixed": [],
"ignore": [],
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# stdeth
# ox

Ethereum Standard Library
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "stdeth",
"name": "ox",
"type": "module",
"scripts": {
"bench": "vitest -c ./test/vitest.config.ts bench",
Expand Down
6 changes: 3 additions & 3 deletions src/internal/data/concat.bench.ts
Original file line number Diff line number Diff line change
@@ -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),
Expand Down Expand Up @@ -34,7 +34,7 @@ describe('concat (bytes)', () => {

// TODO: random hex
describe('concat (hex)', () => {
bench('stdeth', () => {
bench('ox', () => {
Data.concat(
'0xdeadbeefdeadbeefdeadbeef',
'0xdeadbeefdeadbeefdeadbeef',
Expand Down
2 changes: 1 addition & 1 deletion src/internal/data/concat.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Data } from 'stdeth'
import { Data } from 'ox'
import { expect, test } from 'vitest'

test('default', () => {
Expand Down
4 changes: 2 additions & 2 deletions src/internal/data/random.bench.ts
Original file line number Diff line number Diff line change
@@ -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)
})

Expand Down
2 changes: 1 addition & 1 deletion src/internal/data/random.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Data } from 'stdeth'
import { Data } from 'ox'
import { expect, test } from 'vitest'

test('randomBytes', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/jsr.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wevm/stdeth",
"name": "@wevm/ox",
"version": "0.0.0",
"publish": {
"include": ["LICENSE", "README.md", "CHANGELOG.md", "**/*.ts"],
Expand Down
4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "stdeth",
"name": "ox",
"description": "Ethereum Standard Library",
"version": "0.0.0",
"type": "module",
Expand Down Expand Up @@ -30,7 +30,7 @@
},
"license": "MIT",
"homepage": "https://wevm.dev",
"repository": "wevm/stdeth",
"repository": "wevm/ox",
"authors": ["awkweb", "jxom"],
"funding": [
{
Expand Down
2 changes: 1 addition & 1 deletion test/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"baseUrl": ".",
"paths": {
"~test/*": ["./test/*"],
"stdeth": ["src/index.ts"]
"ox": ["src/index.ts"]
}
}
}

0 comments on commit 984e2b9

Please sign in to comment.