You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The stellar contract init ./ --with-example increment is no longer available.
error: invalid value 'increment' for '--with-example <WITH_EXAMPLE>': This argument has been removed and will be not be recognized by the future versions of CLI: Adding examples via cli is no longer supported. You can still clone examples from the repo https://github.com/stellar/soroban-examples
For more information, try '--help'.
The documents code: env.storage().instance().extend_ttl(100, 100); is inconsistent with the example.
// The contract instance will be bumped to have a lifetime of at least 100 ledgers if the current expiration lifetime at most 50.
// If the lifetime is already more than 100 ledgers, this is a no-op. Otherwise,
// the lifetime is extended to 100 ledgers. This lifetime bump includes the contract
// instance itself and all entries in storage().instance(), i.e, COUNTER.
env.storage().instance().extend_ttl(50, 100);
What did you expect to see?
Consistency
What did you see instead?
Inconsistency
The text was updated successfully, but these errors were encountered:
What version are you using?
Stellar CLI
22.1.0
What did you do?
In this page: https://developers.stellar.org/docs/build/smart-contracts/getting-started/storing-data
The
stellar contract init ./ --with-example increment
is no longer available.The documents code:
env.storage().instance().extend_ttl(100, 100);
is inconsistent with the example.What did you expect to see?
Consistency
What did you see instead?
Inconsistency
The text was updated successfully, but these errors were encountered: