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

Feature/GBI-1652 - Null script size verification #208

Merged
merged 3 commits into from
Feb 16, 2024

Conversation

Luisfc68
Copy link
Collaborator

What

Check the 1st byte of the null data script to see if size its correct

Why

Improvement suggested by security team

Task

https://rsklabs.atlassian.net/browse/GBI-1652

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
51.6% Duplication on New Code

See analysis details on SonarCloud

@MaximStanciu8 MaximStanciu8 merged commit 9eb076d into QA-Test Feb 16, 2024
2 checks passed
@MaximStanciu8 MaximStanciu8 deleted the feature/GBI-1652 branch February 16, 2024 15:50
MaximStanciu8 pushed a commit that referenced this pull request Feb 20, 2024
* Feature/GBI-1652 - Null script size verification (#208)

* chore: change method of setting github token in workflow

* feat: add null script content validation

* test: add test to null script content validation

* 1.1.2
MaximStanciu8 added a commit that referenced this pull request Feb 20, 2024
* Deployed to mainnet

* Testnet Deploy

* Added dao fee collector address

* Fixed comments

* Upgraded LBC to testnet

* fix update script

* LBC upgrade

* fix test broken when adding productFeeAmount

* enforce test to run on each environment branch

* fix time dependant test to run in pipeline

* Migrate to BtcUtils published library

* fix unsafe integer calculation in test

* update to avoid tx to the fee collector if productFee is 0

* contract size optimizations

* separate gasFee from callFee

* update integration tests

* remove addresses from regtest config

* testnet upgrade information

* ci: add npm config

* fix: install lib from new registry

* fix: add linebreak in .npmrc

* feat: update BtcUtils library

* testnet upgrade

* 1.1.1

* Qa test (#212)

* Feature/GBI-1652 - Null script size verification (#208)

* chore: change method of setting github token in workflow

* feat: add null script content validation

* test: add test to null script content validation

* 1.1.2

* Stable test (#211) (#213)


* Added dao fee collector address

* Fixed comments

* Upgraded LBC to testnet

* fix update script

* fix test broken when adding productFeeAmount

* enforce test to run on each environment branch

* fix time dependant test to run in pipeline

* Migrate to BtcUtils published library

* fix unsafe integer calculation in test

* update to avoid tx to the fee collector if productFee is 0

* contract size optimizations

* separate gasFee from callFee

* update integration tests

* remove addresses from regtest config

* testnet upgrade information

* ci: add npm config

* fix: install lib from new registry

* fix: add linebreak in .npmrc

* feat: update BtcUtils library


---------

Co-authored-by: MaximStanciu8 <[email protected]>
Co-authored-by: Guilherme Soares <[email protected]>

---------

Co-authored-by: Guilherme Soares <[email protected]>
Co-authored-by: MaximStanciu8 <[email protected]>
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