Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jan 23, 2025
1 parent f32fc92 commit f88cb0c
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 57 deletions.
66 changes: 20 additions & 46 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/chains/definitions/bitlayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export const bitlayer = /*#__PURE__*/ defineChain({
},
contracts: {
multicall3: {
address: "0x5B256fE9e993902eCe49D138a5b1162cBb529474",
address: '0x5B256fE9e993902eCe49D138a5b1162cBb529474',
blockCreated: 2421963,
}
}
},
},
})
4 changes: 2 additions & 2 deletions src/chains/definitions/bitlayerTestnet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ export const bitlayerTestnet = /*#__PURE__*/ defineChain({
},
contracts: {
multicall3: {
address: "0x5B256fE9e993902eCe49D138a5b1162cBb529474",
address: '0x5B256fE9e993902eCe49D138a5b1162cBb529474',
blockCreated: 4135671,
}
},
},
testnet: true,
})
12 changes: 6 additions & 6 deletions src/errors/contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).be.undefined
expect(err.raw).be.undefined
})

test('data: Error(string)', () => {
Expand All @@ -348,7 +348,7 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).toEqual(data)
expect(err.raw).toEqual(data)
})

test('data: Panic(uint256)', () => {
Expand All @@ -366,7 +366,7 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).toEqual(data)
expect(err.raw).toEqual(data)
})

test('data: custom error', () => {
Expand All @@ -386,7 +386,7 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).toEqual(data)
expect(err.raw).toEqual(data)
})

test('data: zero data', () => {
Expand All @@ -402,7 +402,7 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).toEqual(data)
expect(err.raw).toEqual(data)
})

test('data: error signature does not exist on ABI', () => {
Expand All @@ -427,6 +427,6 @@ describe('ContractFunctionRevertedError', () => {
Version: viem@x.y.z]
`)

expect(err.rawData).toEqual(data)
expect(err.raw).toEqual(data)
})
})

0 comments on commit f88cb0c

Please sign in to comment.