Skip to content

[1115] Add separate documentation for with_unused_gas_weight and with_static_gas #2855

@near-dx

Description

@near-dx

Title:
Add separate documentation for with_unused_gas_weight and with_static_gas
Description:
Missing details for usage with_unused_gas_weight and how it interacts with "with_static_gas"

When search "with_unused_gas_weight" => get to https://docs.near.org/smart-contracts/anatomy/crosscontract#creating-a-cross-contract-call but searching on the page doesn't find it.

Also this deserves a separate section as this is main source of issues.
Summary:
Create a new docs section detailing with_unused_gas_weight and clarify how it works with with_static_gas.

Info

Internal ID: 690943bf1315f92e20ef9658
Type: 🚨 BUG

🌍 Open ticket in Gleap

Metadata

browserName: Chrome(140.0.0.0)
userAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
browser: Chrome
systemName: MacOS
sessionDuration: 177
devicePixelRatio: 2
screenWidth: 3008
screenHeight: 1692
innerWidth: 1698
innerHeight: 857
currentUrl: https://docs.near.org/smart-contracts/anatomy/crosscontract#creating-a-cross-contract-call
language: en-US
sdkVersion: 13.9.3
sdkType: javascript
environment: prod

Screenshot

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    NEW❗

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions