Skip to content

[DOC] Clean SDK structures in migration #2543

Open
near-examples/update-migrate-rust
#5
@gagdiez

Description

@gagdiez

Documentation Type

Update Existing Documentation

What needs documentation?

Our current documentation on migration does not explain that keys from the old SDK structures need to be removed after migrating

https://docs.near.org/tutorials/examples/update-contract-migrate-state

Otherwise, the old keys will simply stay behind being orphan, still occupying space

Acceptance Criteria

  • Update examples to remove old keys
  • Updates docs explaining why this is necessary
  • Adjust the code if necessary (e.g. to use constants for prefixes)

Resources & References

https://docs.near.org/tutorials/examples/update-contract-migrate-state

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Review 👀

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions