Skip to content

Commit

Permalink
move unit to separate file
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Jan 17, 2023
1 parent f21f77f commit f603a0a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/util/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
*/
export * from './constants'

/**
* Units helpers
*/
export * from './units'

/**
* Account class and helper functions
*/
Expand Down
2 changes: 0 additions & 2 deletions packages/util/src/withdrawal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { TypeOutput, toType } from './types'

import type { AddressLike, BigIntLike } from './types'

/** Easy conversion from Gwei to wei */
export const GWEI_TO_WEI = BigInt(1000000000)
/**
* Flexible input data type for EIP-4895 withdrawal data with amount in Gwei to
* match CL representation and for eventual ssz withdrawalsRoot
Expand Down

0 comments on commit f603a0a

Please sign in to comment.