[go: nahoru, domu]

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

refactor(protocol): remove internal variables and functions #419

Merged
merged 7 commits into from
Dec 15, 2022

Conversation

1xDeFi
Copy link
Contributor
@1xDeFi 1xDeFi commented Dec 12, 2022

@vercel
Copy link
vercel bot commented Dec 12, 2022

@1xDeFi is attempting to deploy a commit to the taikoxyz Team on Vercel.

A member of the Team first needs to authorize it.

@d1onys1us
Copy link
Contributor

hello @1xDeFi thanks for your contribution. could you merge the other PRs and this all into one? (related to removing internal variables and functions).

But before that i'll mention: this change might work in the short term, but once we autogenerate the documentation again (which will happen on build from compiling the solidity code), this will get overwritten and we would need to manually remove it again.

So we should probably think of a dynamic way to do this. One thing to look into is how the documentation is generated from handlebars templates. see: https://github.com/taikoxyz/taiko-mono/blob/main/packages/protocol/solidity-docgen/templates/README.md

commit 1a94184
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Tue Dec 13 16:56:11 2022 +0100

    Squashed commit of the following:

    commit a8b1c49
    Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
    Date:   Mon Dec 12 14:15:36 2022 +0100

        remove internal variables and functions

        Removed from: https://taiko.xyz/docs/reference/smart-contracts/bridge/BridgedERC20

commit 235b685
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Tue Dec 13 16:56:00 2022 +0100

    Squashed commit of the following:

    commit 1fdf217
    Merge: 4ae3dbc 788e162
    Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
    Date:   Tue Dec 13 16:24:24 2022 +0100

        Merge branch 'main' into patch-5

    commit 4ae3dbc
    Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
    Date:   Mon Dec 12 14:14:20 2022 +0100

        remove internal variables and functions

        Removed from: https://taiko.xyz/docs/reference/smart-contracts/bridge/

commit 1a28290
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Tue Dec 13 16:55:46 2022 +0100

    Squashed commit of the following:

    commit 5bdd441
    Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
    Date:   Mon Dec 12 14:10:58 2022 +0100

        remove internal variables and functions

        Removed for: https://taiko.xyz/docs/reference/smart-contracts/L1/TaikoL1

commit 9e219bd
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Tue Dec 13 16:55:23 2022 +0100

    Squashed commit of the following:

    commit 19525cb
    Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
    Date:   Mon Dec 12 14:08:55 2022 +0100

        remove internal variables and functions

        Removed from: https://taiko.xyz/docs/reference/smart-contracts/L1/TkoToken

commit e443de4
Merge: bc54a67 788e162
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Tue Dec 13 16:26:26 2022 +0100

    Merge branch 'taikoxyz:main' into patch-2

commit 788e162
Author: Daniel Wang <99078276+dantaik@users.noreply.github.com>
Date:   Tue Dec 13 06:44:16 2022 +0800

    chore(website): publish website when contract code changes on main (taikoxyz#413)

commit b5d8180
Author: jeff <113397187+cyberhorsey@users.noreply.github.com>
Date:   Mon Dec 12 07:43:45 2022 -0800

    feat(relayer): only process profitable transactions (taikoxyz#408)

commit bc54a67
Author: 1xDeFi <90858998+1xDeFi@users.noreply.github.com>
Date:   Mon Dec 12 14:07:20 2022 +0100

    remove internal variables and functions

    Removed from: https://taiko.xyz/docs/reference/smart-contracts/L2/TaikoL2
@codecov
Copy link
codecov bot commented Dec 13, 2022

Codecov Report

Merging #419 (831c156) into main (a81a052) will increase coverage by 0.07%.
The diff coverage is 77.77%.

❗ Current head 831c156 differs from pull request most recent head 917cd97. Consider uploading reports for the commit 917cd97 to get more accurate results

@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   65.42%   65.50%   +0.07%     
==========================================
  Files          99       99              
  Lines        2661     2661              
  Branches      313      313              
==========================================
+ Hits         1741     1743       +2     
+ Misses        850      848       -2     
  Partials       70       70              
Flag Coverage Δ *Carryforward flag
bridge-ui 100.00% <ø> (ø) Carriedforward from e7ef53e
protocol 58.54% <ø> (+0.28%) ⬆️ Carriedforward from e7ef53e
relayer 68.96% <77.77%> (-0.19%) ⬇️
ui 100.00% <ø> (ø) Carriedforward from e7ef53e

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
packages/relayer/repo/event.go 72.72% <55.55%> (ø)
packages/relayer/cli/cli.go 61.50% <60.00%> (ø)
packages/relayer/message/process_message.go 61.79% <62.50%> (ø)
packages/relayer/message/get_latest_nonce.go 72.72% <72.72%> (ø)
packages/relayer/message/is_profitable.go 76.00% <76.00%> (ø)
packages/relayer/message/wait_for_confirmations.go 80.00% <80.00%> (ø)
packages/relayer/indexer/filter_then_subscribe.go 23.52% <85.71%> (ø)
packages/relayer/http/get_events_by_address.go 88.00% <100.00%> (ø)
packages/relayer/indexer/service.go 75.26% <100.00%> (ø)
packages/relayer/message/processor.go 100.00% <100.00%> (ø)
... and 10 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@dantaik dantaik changed the title remove internal variables and functions refactor(relayer): remove internal variables and functions Dec 13, 2022
@davidtaikocha davidtaikocha changed the title refactor(relayer): remove internal variables and functions refactor(protocol): remove internal variables and functions Dec 15, 2022
Copy link
Contributor
@d1onys1us d1onys1us left a comment

Choose a reason for hiding this comment

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

Approved, thanks for the contribution!

@d1onys1us d1onys1us merged commit 5a7deb0 into taikoxyz:main Dec 15, 2022
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