Skip to content

Commit

Permalink
feat: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Novus Nota <[email protected]>
  • Loading branch information
Gusarich and novusnota authored Nov 17, 2024
1 parent b485fc6 commit 178e712
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions stdlib/std/cells.tact
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ asm extends fun refs(self: Builder): Int { BREFS }

asm extends fun bits(self: Builder): Int { BBITS }

asm fun builderDepth(builder: Builder): Int { BDEPTH }
asm extends fun depth(self: Builder): Int { BDEPTH }

//
// Slice
Expand Down Expand Up @@ -113,7 +113,7 @@ asm extends fun firstBits(self: Slice, len: Int): Slice { SDCUTFIRST }

asm extends fun sliceLast(self: Slice, len: Int): Slice { SDCUTLAST }

asm fun sliceDepth(slice: Slice): Int { SDEPTH }
asm extends fun depth(self: Slice): Int { SDEPTH }

//
// Slice size
Expand Down Expand Up @@ -171,5 +171,5 @@ asm fun computeDataSize(cell: Cell, maxCells: Int): DataSize { CDATASIZE TRIPLE

asm fun computeSliceDataSize(slice: Slice, maxCells: Int): DataSize { SDATASIZE TRIPLE }

asm fun cellDepth(cell: Cell): Int { CDEPTH }
asm extends fun depth(self: Cell): Int { CDEPTH }

2 changes: 1 addition & 1 deletion stdlib/std/math.tact
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ native pow(base: Int, exp: Int): Int;

asm fun pow2(exp: Int): Int { POW2 }

asm fun sgn(x: Int): Int { SGN }
asm fun sign(x: Int): Int { SGN }
2 changes: 1 addition & 1 deletion stdlib/stdlib.fc
Original file line number Diff line number Diff line change
Expand Up @@ -663,4 +663,4 @@ int get_simple_forward_fee(int workchain, int bits, int cells) asm(cells bits wo
int get_original_fwd_fee(int workchain, int fwd_fee) asm(fwd_fee workchain) "GETORIGINALFWDFEE";
int my_storage_due() asm "DUEPAYMENT";

tuple get_fee_cofigs() asm "UNPACKEDCONFIGTUPLE";
tuple get_fee_configs() asm "UNPACKEDCONFIGTUPLE";

0 comments on commit 178e712

Please sign in to comment.