Skip to content

Comments

chore: fix system tx inputs#50

Merged
dapplion merged 5 commits intognosischain:withdrawals-pullfrom
filoozom:chore/fix-system-tx-inputs
Jul 11, 2023
Merged

chore: fix system tx inputs#50
dapplion merged 5 commits intognosischain:withdrawals-pullfrom
filoozom:chore/fix-system-tx-inputs

Conversation

@filoozom
Copy link
Contributor

@filoozom filoozom commented Jun 28, 2023

This needs to be deployed before the merge gets deployed or it might prevent nodes from syncing without specific checks.

This will not work on Chiado without any specific exceptions though, so we might not want to merge this for mainnet, as it would mean that we'd either have to keep the deprecated signature anyways, or implement an override in the EL clients.

@filoozom filoozom changed the base branch from master to withdrawals-pull June 28, 2023 17:43
@filoozom filoozom requested review from Barichek and dapplion and removed request for Barichek June 28, 2023 17:43
}

/**
* @custom:deprecated
Copy link
Member

Choose a reason for hiding this comment

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

We cannot deprecate this function without breaking chiado. Client teams should be aware of this and must support this signature until we have a plan for chiado

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So what change are you suggesting? For me "deprecated" just means that this should no longer be used in the future, but blockchain being blockchain, this is still the signature that needs to be called before some still undefined block on Chiado.

Copy link
Member

@dapplion dapplion Jun 28, 2023

Choose a reason for hiding this comment

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

deprecated does not convey enough meaning and can lead to confusion. Being this so critical it must be explicitly said that:

  • chiado requires this signature from block N to block M, supports both after block M
  • gnosis supports both after block P

@dapplion dapplion merged commit 57d2c6d into gnosischain:withdrawals-pull Jul 11, 2023
dapplion added a commit that referenced this pull request Jul 11, 2023
* Withdrawals pull

* Update maxFailedWithdrawalsToProcess variable name

* Delete settings.json

* Place all variables at the top

* Update executeSystemWithdrawals comment

* chore: fix all solhint issues (#49)

* chore: remove global imports

* chore: ignore _deprecatedUnused

* chore: re-add _deprecatedUnused comment

* chore: fix system tx inputs (#50)

* chore: add system tx with right signature

* fix: make signature public and fix tests

* Update SBCDepositContract comment

* Update SBCDepositContract.sol

---------

Co-authored-by: Lion - dapplion <35266934+dapplion@users.noreply.github.com>

---------

Co-authored-by: Philippe Schommers <philippe@schommers.be>
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