Skip to content

Fix an issue where class methods would not be defined yet when accessing#523

Open
nielstron wants to merge 1 commit intodevfrom
fix/methods_def
Open

Fix an issue where class methods would not be defined yet when accessing#523
nielstron wants to merge 1 commit intodevfrom
fix/methods_def

Conversation

@nielstron
Copy link
Contributor

them

@nielstron nielstron added the bugfix This pull request fixes a known bug label Sep 17, 2025
@github-actions
Copy link

✅ Binary Size Check Passed

Binary Size Comparison Report
Loading baseline measurements...
Measuring current binary sizes...
Measuring assert_sum...
  O0: 35042 bytes
  O1: 4604 bytes
  O2: 4604 bytes
  O3: 4604 bytes
Measuring marketplace...
  O0: 40776 bytes
  O1: 8876 bytes
  O2: 8868 bytes
  O3: 8868 bytes
Measuring gift...
  O0: 19472 bytes
  O1: 1652 bytes
  O2: 1652 bytes
  O3: 1652 bytes
Measuring wrapped_token...
  O0: 28516 bytes
  O1: 9522 bytes
  O2: 9256 bytes
  O3: 9256 bytes
Measuring micropayments...
  O0: 31900 bytes
  O1: 11192 bytes
  O2: 11174 bytes
  O3: 11174 bytes

============================================================
BINARY SIZE COMPARISON REPORT
============================================================

Contract: assert_sum
Description: Simple spending validator with assertion
----------------------------------------
  O0: 35,012 → 35,042 bytes (+30 bytes, +0.1%)
  O1: 4,604 → 4,604 bytes (+0 bytes, +0.0%)
  O2: 4,604 → 4,604 bytes (+0 bytes, +0.0%)
  O3: 4,604 → 4,604 bytes (+0 bytes, +0.0%)

Contract: marketplace
Description: Marketplace contract with complex data structures
----------------------------------------
  O0: 40,746 → 40,776 bytes (+30 bytes, +0.1%)
  O1: 8,876 → 8,876 bytes (+0 bytes, +0.0%)
  O2: 8,868 → 8,868 bytes (+0 bytes, +0.0%)
  O3: 8,868 → 8,868 bytes (+0 bytes, +0.0%)

Contract: gift
Description: Gift contract with simple logic
----------------------------------------
  O0: 19,442 → 19,472 bytes (+30 bytes, +0.2%)
  O1: 1,652 → 1,652 bytes (+0 bytes, +0.0%)
  O2: 1,652 → 1,652 bytes (+0 bytes, +0.0%)
  O3: 1,652 → 1,652 bytes (+0 bytes, +0.0%)

Contract: wrapped_token
Description: Dual-use contract to generate a wrapped token
----------------------------------------
  O0: 28,486 → 28,516 bytes (+30 bytes, +0.1%)
  O1: 9,522 → 9,522 bytes (+0 bytes, +0.0%)
  O2: 9,256 → 9,256 bytes (+0 bytes, +0.0%)
  O3: 9,256 → 9,256 bytes (+0 bytes, +0.0%)

Contract: micropayments
Description: Channel for fee-less micropayments
----------------------------------------
  O0: 31,872 → 31,900 bytes (+28 bytes, +0.1%)
  O1: 11,192 → 11,192 bytes (+0 bytes, +0.0%)
  O2: 11,174 → 11,174 bytes (+0 bytes, +0.0%)
  O3: 11,174 → 11,174 bytes (+0 bytes, +0.0%)

Total size change across all contracts: +148 bytes

✅ No significant binary size changes detected
============================================================

No significant binary size changes were detected in this PR.


This report compares the binary sizes of compiled contracts against the baseline from the latest release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix This pull request fixes a known bug

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant