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(optimism): Optimism bridge #17

Merged
merged 52 commits into from
Sep 15, 2023
Merged

Feat(optimism): Optimism bridge #17

merged 52 commits into from
Sep 15, 2023

Conversation

Quazia
Copy link
Member

@Quazia Quazia commented Aug 24, 2023

Still need to add more tests. There was a lot more assistance from published Optimism repos for this one, and even fewer networks to deal with. One complexity - they use slightly different functions if there's a recipient. Not quite sure how to handle that yet I'm going to have to figure it out in the testing but something to watch for.

@changeset-bot
Copy link

changeset-bot bot commented Aug 24, 2023

🦋 Changeset detected

Latest commit: b5fb22a

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-optimism Minor
@rabbitholegg/questdk-plugin-registry 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

} from '@eth-optimism/contracts-ts'
import { ETH_CHAIN_ID, CHAIN_ID_ARRAY } from './chain-ids.js'
import { ETH_TOKEN_ADDRESS } from './token-addresses.js'
// If you're implementing swap or mint, simply duplicate this function and change the name
Copy link
Member

Choose a reason for hiding this comment

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

can remove the template comments

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch thanks, I'll keep an eye out for loose comments in the other branches too.


export const getSupportedTokenAddresses = async (_chainId: number) => {
// Given a specific chain we would expect this function to return a list of supported token addresses
return []
Copy link
Member

Choose a reason for hiding this comment

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

this should return the tokens listed in packages/optimism/src/token-addresses.ts

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be resolved

@Quazia Quazia requested a review from jimobrien September 12, 2023 16:15
@Quazia Quazia marked this pull request as ready for review September 13, 2023 23:32
@Quazia Quazia merged commit 5ff8005 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 added a commit that referenced this pull request Mar 2, 2024
* delete test

* feat: add jojo stake plugin

* Chore: bump pnpm 8.15.3

* test

* Feat(zora): add simulateMint

* Feat(mirror): add simulateMint

* Feat(sound): add mintSimulate

* chore: format

* Chore: changeset

* Version Packages (alpha)

* add zod as a dev dependency

* add script

* add js-yaml

* update

* test

* commonjs

* things

* install types

* why not

* change

* logs

* drop catch

* set path

* add url to schema

* add test plugin

* chore: format

* update config

* add comment

* exit on error

* fill in details

* add check for new packages

* remove config

* add type notations

* branches

* target fork

* :(

* 1

* Feat(registry): add getTxSimulation to registry

* 2

* Chore: delete questk pnpm-workspace.yaml

* lfg

* types

* add details

* update message

* Fix: root tsconfig

* Fix: tweak root tsconfig

* chore: format

* Chore: changeset

* Chore: fully remove tsconfig from root

* update script

* Chore: remove per-app pnpm enforcement

* remove icon

* chore: version package (alpha)

* update

* update

* add details

* remove logs

* pass tests

* add branch

* test merge

* fix: delete TOKEN_JUSD

* Chore(utils): add sepolia to chain-ids

* Chore(types): make tokenId option for mint intent

* Fix(zora): update ABI, Save legacy mint in seperate ABI

* Feat(zora): add mint cop addresses

* Feat(utils): ADD TREASURY CONST

* Feat(zora): update intent/simulation with new contract

* Test(zora): simulation

* chore: format

* Chore: cleanup

* chore: format

* Fix: update simulation return types

* added export for tokens directory

* chore: format

* chore: format

* added changeset

* Test(zora): remove only

* Test(zora): update test data

* Chore(deps): bump codecov/codecov-action from 4.0.1 to 4.1.0

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.0.1 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v4.0.1...v4.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Refactor(zora): use viem pad over helper

Thanks for the tip @jonathandiep

* Chore(zora): remove stray log

* Chore: changeset

* refactor(jojo): remove template comments

* refactor(jojo): convert bigint to string value

* chore: version package (alpha)

* Fix(zora): remove extra msgArgs

* chore: version package (alpha)

* validateicon

* update action

* use ngrok for testing

* Fix config file format verification script

* update iconoption

* change ngrok url

* fix logo url

* fix logo url

* verify unique urls

* add env override

* add script to register plugin details

* change install node step

* fix namespace issue

* updatefail logic

* fix

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: almo <[email protected]>
Co-authored-by: Quazia <[email protected]>
Co-authored-by: Quazia <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: mmackz <[email protected]>
Co-authored-by: veganbeef <[email protected]>
Co-authored-by: veganbeef <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@mmackz mmackz deleted the optimism_bridge branch March 14, 2024 17:39
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.

2 participants