Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/github_actions/github/codeql-ac…
Browse files Browse the repository at this point in the history
…tion-3
  • Loading branch information
rach-id authored Jan 3, 2024
2 parents 3f6cc70 + f0ae0f4 commit 6cbf0f3
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/lib/tree/binary/BinaryMerkleTree.sol
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ library BinaryMerkleTree {
if (_begin > _data.length || _end > _data.length) {
revert("Invalid range: _begin or _end are out of bounds");
}
bytes32[] memory out = new bytes32[](_end-_begin);
bytes32[] memory out = new bytes32[](_end - _begin);
for (uint256 i = _begin; i < _end; i++) {
out[i - _begin] = _data[i];
}
Expand Down
1 change: 0 additions & 1 deletion src/lib/tree/binary/test/BinaryMerkleTree.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import "../BinaryMerkleTree.sol";
* 0xc1ad6548cb4c7663110df219ec8b36ca63b01158956f4be31a38a88d0c7f7071
*
*/

contract BinaryMerkleProofTest is DSTest {
Vm private constant vm = Vm(address(uint160(uint256(keccak256("hevm cheat code")))));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import "../NamespaceMerkleTree.sol";
* 0x0000000000000000000000000000000000000000000000000000000010 0x0000000000000000000000000000000000000000000000000000000010 0x5b3328b03a538d627db78668034089cb395f63d05b24fdf99558d36fe991d268
*
*/

contract NamespaceMerkleMultiproofTest is DSTest {
function setUp() external {}

Expand Down
1 change: 0 additions & 1 deletion src/lib/tree/namespace/test/NamespaceMerkleTree.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ import "../../Constants.sol";
* 0x0000000000000000000000000000000000000000000000000000000010 0x0000000000000000000000000000000000000000000000000000000040 0x34e6541306dc4e57a5a2a9ef57a46d5705ed09efb8c6a02580d3a972922b6862
*
*/

contract NamespaceMerkleTreeTest is DSTest {
function setUp() external {}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/verifier/DAVerifier.sol
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ library DAVerifier {
if (_begin > _data.length || _end > _data.length) {
return (_data, ErrorCodes.OutOfBoundsRange);
}
bytes[] memory out = new bytes[](_end-_begin);
bytes[] memory out = new bytes[](_end - _begin);
for (uint256 i = _begin; i < _end; i++) {
out[i - _begin] = _data[i];
}
Expand Down
4 changes: 2 additions & 2 deletions wrappers/Blobstream.sol/wrapper.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion wrappers/ERC1967Proxy.sol/wrapper.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6cbf0f3

Please sign in to comment.