lodestar icon indicating copy to clipboard operation
lodestar copied to clipboard

Update lodestar ecosystem to ES modules (ESM)

Open wemeetagain opened this issue 3 years ago • 7 comments

Once lodestar dependencies move to ES modules only, we can't upgrade unless we also move. Since ES modules are the future, we should migrate when possible.

Current progress

  • ChainSafe/lodestar: https://github.com/ChainSafe/lodestar/pull/3978
  • ChainSafe/lodestar: https://github.com/ChainSafe/lodestar/pull/4114

libp2p

bls

ssz

  • ChainSafe/ssz: https://github.com/ChainSafe/ssz/issues/439, https://github.com/ChainSafe/ssz/pull/440

Related:

  • https://github.com/ipfs/js-ipfs/issues/951
  • https://github.com/ChainSafe/lodestar/pull/3183
  • https://github.com/ChainSafe/lodestar/issues/3182

wemeetagain avatar Mar 18 '22 14:03 wemeetagain

Related

  • https://github.com/ChainSafe/lodestar/pull/3183
  • https://github.com/ChainSafe/lodestar/issues/3182

dapplion avatar Mar 21 '22 02:03 dapplion

@wemeetagain Does #3978 conclude the upgrades to ESM? If so, we can close this.

philknows avatar May 25 '22 20:05 philknows

We will migrate our other libraries over to ESM too. ssz monorepo packages, bls packages, discv5, etc. Lower priority tho, no urgency

wemeetagain avatar May 26 '22 02:05 wemeetagain

  • https://github.com/ChainSafe/lodestar/pull/4114 is related

wemeetagain avatar Jun 30 '22 19:06 wemeetagain

We should continue discussing this for https://github.com/ChainSafe/ssz

philknows avatar Nov 05 '23 15:11 philknows