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

Update to Stable Cadence preview 2 #5246

Merged
merged 6 commits into from
Jan 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add memory weights
  • Loading branch information
dsainati1 committed Jan 17, 2024
commit 9fb32017799dd022fa0691820fca3d359c7c95fc
6 changes: 6 additions & 0 deletions fvm/meter/memory_meter.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,12 @@ var (
common.MemoryKindEntitlementMapStaticAccess: 17,
common.MemoryKindCadenceEntitlementSetAccess: 33,
common.MemoryKindCadenceEntitlementMapAccess: 17,

// InclusiveRange
common.MemoryKindInclusiveRangeStaticType: 17,
common.MemoryKindCadenceInclusiveRangeValue: 81,
common.MemoryKindCadenceInclusiveRangeType: 33,
common.MemoryKindInclusiveRangeSemaType: 17,
}
)

Expand Down
Loading