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(polygon): Polygon bridge #19

Merged
merged 45 commits into from
Sep 15, 2023
Merged

Feat(polygon): Polygon bridge #19

merged 45 commits into from
Sep 15, 2023

Conversation

Quazia
Copy link
Member

@Quazia Quazia commented Aug 30, 2023

Biggest issue here is that the L1 ERC20 function signature doesn't have an amount. Polygon in general handles stuff super weird and I'm not very happy with this integration. They also have this concept around token predicates that is basically an alternative bridging flow but it's not supported through the UI.

Edit: Got the amount issue resolved on L1 ERC20. Not going to bother with the predicates right now as best I can tell they arn't used through the front-end anyhow.

@changeset-bot
Copy link

changeset-bot bot commented Aug 30, 2023

🦋 Changeset detected

Latest commit: 63285d7

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

This PR includes changesets to release 2 packages
Name Type
@rabbitholegg/questdk-plugin-registry Minor
@rabbitholegg/questdk-plugin-polygon Minor

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

Comment on lines 37 to 51
"devDependencies": {
"@types/node": "^20.4.5",
"@vitest/coverage-v8": "^0.33.0",
"rimraf": "^5.0.1",
"rome": "^12.1.3",
"ts-node": "^10.9.1",
"tsconfig": "workspace:*",
"typescript": "^5.1.6",
"vitest": "^0.33.0"
},
"dependencies": {
"@maticnetwork/pos-portal": "^1.5.2",
"@rabbitholegg/questdk": "1.0.1-alpha.8",
"viem": "^1.2.15"
}
Copy link
Member

Choose a reason for hiding this comment

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

We should probably keep dependencies pinned for any plugins / sdks that other users will consume

Copy link
Member Author

Choose a reason for hiding this comment

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

Agreed - I'll capture this as an issue

packages/polygon/src/Polygon.test.ts Show resolved Hide resolved
packages/polygon/src/Polygon.ts Show resolved Hide resolved
packages/polygon/src/Polygon.ts Show resolved Hide resolved
packages/polygon/src/Polygon.ts Outdated Show resolved Hide resolved
packages/polygon/src/supported-token-addresses.ts Outdated Show resolved Hide resolved
packages/polygon/src/supported-token-addresses.ts Outdated Show resolved Hide resolved
@Quazia Quazia marked this pull request as ready for review September 13, 2023 23:41
@Quazia Quazia merged commit d273d44 into main Sep 15, 2023
@github-actions github-actions bot mentioned this pull request Sep 15, 2023
Quazia pushed a commit that referenced this pull request Feb 16, 2024
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mmackz mmackz deleted the polygon_bridge branch March 14, 2024 17:40
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.

3 participants