-
Notifications
You must be signed in to change notification settings - Fork 267
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
Coinbase refactor #2876
Coinbase refactor #2876
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Manifest Files |
) { | ||
byte[] rawBtcBlockHeader = HexUtils.stringHexToByteArray("000000203b5d178405c4e6e7dc07d63d6de5db1342044791721654760c00000000000000796cf6743a036300b43fb3abe6703d04a7999751b6d5744f20327d1175320bd37b954e66ffff001d56dc11ce"); | ||
|
||
BtcBlock btcBlockHeader = new BtcBlock(bridgeConstants.getBtcParams(), rawBtcBlockHeader); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note
BtcBlock.BtcBlock
|
||
// recreating the chainHead as real btc block 2_817_200 so blockDepth is not 0 | ||
byte[] chainHeadRawHeader = HexUtils.stringHexToByteArray("0000642d6b8df2c8ae4a20e20a10ae3b34e485701b8ae7e80ede0828040000000000000063a17c3e5063da2f8f952e496beee729932d35f62c0765baaf12f32931f01c9b49354f66ecd410190f25f402"); | ||
BtcBlock chainHeadHeader = new BtcBlock(bridgeTestnetConstants.getBtcParams(), chainHeadRawHeader); |
Check notice
Code scanning / CodeQL
Deprecated method or constructor invocation Note test
BtcBlock.BtcBlock
8a5a527
to
ffa731a
Compare
Add test for getBtcTransactionConfirmations Add test case for getBtcTransactionConfirmationsGetCost
afa5ff2
to
6c82660
Compare
Quality Gate passedIssues Measures |
Description
Motivation and Context
How Has This Been Tested?
Unit tests
Types of changes
Checklist:
fed:coinbase-refactor