Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add X Layer chain, add alias for x1Testnet #2142

Merged
merged 4 commits into from
Apr 17, 2024
Merged

Conversation

UncleBill
Copy link
Contributor

@UncleBill UncleBill commented Apr 17, 2024

Add X Layer and its alias x1

X1 Testnet renamed to X Layer Testnet, X1 renamed to X Layer


PR-Codex overview

This PR adds a new X Layer chain and updates the x1Testnet to xLayerTestnet. It deprecates x1Testnet in favor of xLayerTestnet.

Detailed summary

  • Added X Layer chain with OKB native currency
  • Renamed x1Testnet to xLayerTestnet
  • Deprecated x1Testnet in favor of xLayerTestnet
  • Updated index to export xLayerTestnet and deprecate x1Testnet

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Apr 17, 2024

🦋 Changeset detected

Latest commit: 33defcd

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Apr 17, 2024

@UncleBill is attempting to deploy a commit to the wevm Team on Vercel.

A member of the Team first needs to authorize it.

@@ -235,7 +235,8 @@ export { wanchain } from './definitions/wanchain.js'
export { wanchainTestnet } from './definitions/wanchainTestnet.js'
export { wemix } from './definitions/wemix.js'
export { wemixTestnet } from './definitions/wemixTestnet.js'
export { x1Testnet } from './definitions/x1Testnet.js'
export { xLayerTestnet, x1Testnet } from './definitions/xLayerTestnet.js'
export { xLayer, x1 } from './definitions/xLayerTestnet.js'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export { xLayer, x1 } from './definitions/xLayerTestnet.js'
export { xLayer } from './definitions/xLayerTestnet.js'

Ideally should export one chain (unless deprecated).

@@ -235,7 +235,8 @@ export { wanchain } from './definitions/wanchain.js'
export { wanchainTestnet } from './definitions/wanchainTestnet.js'
export { wemix } from './definitions/wemix.js'
export { wemixTestnet } from './definitions/wemixTestnet.js'
export { x1Testnet } from './definitions/x1Testnet.js'
export { xLayerTestnet, x1Testnet } from './definitions/xLayerTestnet.js'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
export { xLayerTestnet, x1Testnet } from './definitions/xLayerTestnet.js'
export {
xLayerTestnet,
/** @deprecated Use `xLayerTestnet` */
x1Testnet
} from './definitions/xLayerTestnet.js'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

@jxom jxom merged commit c4047dc into wevm:main Apr 17, 2024
3 of 21 checks passed
@jxom
Copy link
Member

jxom commented Apr 17, 2024

Thanks for the PR! I had to remove the multicall contract as it was unverified.

Happy to accept another PR adding it in once it is verified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants