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

go.mods: rm libp2p; rm btcd replace #11502

Merged
merged 5 commits into from
Dec 11, 2023
Merged

go.mods: rm libp2p; rm btcd replace #11502

merged 5 commits into from
Dec 11, 2023

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Dec 6, 2023

Following #10872, we can remove the remaining libp2p deps and drop the github.com/btcsuite/btcd replaces.

Copy link
Contributor

github-actions bot commented Dec 6, 2023

I see that you haven't updated any README files. Would it make sense to do so?

@jmank88 jmank88 changed the title go.mods: drop btcd replace; upgrade libp2p go.mods: rm libp2p; rm btcd replace Dec 11, 2023
samsondav
samsondav previously approved these changes Dec 11, 2023
@cl-sonarqube-production
Copy link

@jmank88 jmank88 marked this pull request as ready for review December 11, 2023 20:07
@jmank88 jmank88 requested review from a team and jkongie as code owners December 11, 2023 20:07
if err != nil {
return EncryptedP2PKeyExport{}, errors.Wrapf(err, "could not get raw public key")
}
func(id string, key KeyV2, cryptoJSON keystore.CryptoJSON) EncryptedP2PKeyExport {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was the only instance actually returning an error, so we can simplify the signature now.

Copy link
Contributor

@coventry coventry left a comment

Choose a reason for hiding this comment

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

Changes in secp256k1 package LGTM.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just filled these out to match the slightly stricter length validation.

@jmank88 jmank88 added this pull request to the merge queue Dec 11, 2023
Merged via the queue into develop with commit 120bef7 Dec 11, 2023
75 of 76 checks passed
@jmank88 jmank88 deleted the btcd branch December 11, 2023 23:04
momentmaker added a commit that referenced this pull request Dec 13, 2023
* develop: (56 commits)
  [TT-367] [TT-745] Quick and Dirty OCRv2 Soak Test (#11487)
  [FUN-990] s4 observability improvements (#11512)
  fix health monitoring (#11558)
  Removes Optimism Goerli from Scheduled Tests (#11559)
  bump Foundry to the December release (#11540)
  Standardize LP filter logging (#11515)
  Change keepers to use the default contract transmitter (#11308)
  bump toml/v2 and prometheus to latest patch (#11541)
  Remove big from core utils (#11511)
  Handle edge case involving blocks not being found in the db (#11298)
  [DEPLOY-178]: Adds Scroll L2EP Contracts (#11405)
  disable kaniko fallback, increase deploy wait timeout (#11548)
  Use multiple EL clients with ocrv2 median smoke test (#11399)
  Remove core utils dependencies from common (#11425)
  [BCF-2760] Flakey test detection improvements (#11470)
  go.mods: rm libp2p; rm btcd replace (#11502)
  wrap devspace commands (#11530)
  small improvements based on comments (#11491)
  (test): Remove unnecessary fuzzing from Functions OnTokenTransfer tests (#11517)
  core/scripts/common: rm ava-labs/coreth; lint (#11451)
  ...
fbac pushed a commit that referenced this pull request Dec 14, 2023
* go.mods: drop btcd replace; upgrade libp2p

* Replace deprecated call to btcd API for secp256k1 constant

* Fix comment describing sqrtPower calculation

* Change calculation of sqrtPower to standard order of operations

* rm libp2p peer & crypto uses

---------

Co-authored-by: Alex Coventry <coventry@smartcontract.com>
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