Skip to content

fix: change storage to memory in Drippie.executable() view function#239

Open
ygd58 wants to merge 1 commit intobase:mainfrom
ygd58:fix/drippie-executable-memory
Open

fix: change storage to memory in Drippie.executable() view function#239
ygd58 wants to merge 1 commit intobase:mainfrom
ygd58:fix/drippie-executable-memory

Conversation

@ygd58
Copy link
Copy Markdown

@ygd58 ygd58 commented Apr 3, 2026

Drippie.executable() is a view function but the DripAction return value is declared as storage. Since this function never writes to state memory is the correct location here. Storage in a view function is misleading and costs unnecessary gas.

@cb-heimdall
Copy link
Copy Markdown
Collaborator

cb-heimdall commented Apr 3, 2026

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 1
Sum 2

@ygd58
Copy link
Copy Markdown
Author

ygd58 commented Apr 18, 2026

hey @leopoldjoy @roger-bai-coinbase can you take a look when you get a chance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants