Skip to content

Commit

Permalink
Remove asserts from bootloader (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
gianbelinche authored Aug 20, 2024
1 parent 6a9d835 commit cb3ad25
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions system-contracts/bootloader/bootloader.yul
Original file line number Diff line number Diff line change
Expand Up @@ -3205,9 +3205,8 @@ object "Bootloader" {
<!-- @if BOOTLOADER_TYPE=='proved_batch' -->
assertEq(gt(getFrom(innerTxDataOffset), MAX_SYSTEM_CONTRACT_ADDR()), 1, "from in kernel space")
<!-- @endif -->

assertEq(getReserved0(innerTxDataOffset), 0, "reserved0 non zero")
assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
//assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
assertEq(getReserved2(innerTxDataOffset), 0, "reserved2 non zero")
assertEq(getReserved3(innerTxDataOffset), 0, "reserved3 non zero")
assertEq(getFactoryDepsBytesLength(innerTxDataOffset), 0, "factory deps non zero")
Expand All @@ -3230,7 +3229,7 @@ object "Bootloader" {
<!-- @endif -->

assertEq(getReserved0(innerTxDataOffset), 0, "reserved0 non zero")
assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
//assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
assertEq(getReserved2(innerTxDataOffset), 0, "reserved2 non zero")
assertEq(getReserved3(innerTxDataOffset), 0, "reserved3 non zero")
assertEq(getFactoryDepsBytesLength(innerTxDataOffset), 0, "factory deps non zero")
Expand All @@ -3249,7 +3248,7 @@ object "Bootloader" {
assertEq(gt(getFrom(innerTxDataOffset), MAX_SYSTEM_CONTRACT_ADDR()), 1, "from in kernel space")
<!-- @endif -->
assertEq(getReserved0(innerTxDataOffset), 0, "reserved0 non zero")
assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
//assertEq(getReserved1(innerTxDataOffset), 0, "reserved1 non zero")
assertEq(getReserved2(innerTxDataOffset), 0, "reserved2 non zero")
assertEq(getReserved3(innerTxDataOffset), 0, "reserved3 non zero")
}
Expand Down

0 comments on commit cb3ad25

Please sign in to comment.