FuelLabs / FuelLabs/sway

Deprecate `auth::caller_contract_id`

Open
#5,337 0 comments 0 reactions 0 assignees View on GitHub
bikeshedding breaking code quality lib: std
Dominant language
Rust
Stars
61.4k
Forks
5.4k
Avg merge
3h 33m
Merged PRs (30d)
4

Description

It has a case for undefined behaviour and we also have `call_frames::contract_id` which is almost the same.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the definitions and usages of `auth::caller_contract_id` and `call_frames::contract_id`, then inspect how the undefined-behaviour case is handled. Confirm the deprecation scope and replacement guidance from surrounding compiler code; done means the obsolete API is deprecated consistently without leaving unresolved usages.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.