Skip to content

deleting accounts that use 2-stage delete, calls validate() and potentially fails #3085

@elitegreg

Description

@elitegreg

Trying to delete an old user on testnet with a rfc1918 client_ip, delete fails due to validation:

Program Logs:
Program DZtnuQ839pSaDMFG5q1ad2V95G82S5EC4RrB3Ndw2Heb invoke [1]
Program log: Instruction: DeleteUser()
Program log: Rent required: 1552080, actual: 1461600
Program 11111111111111111111111111111111 invoke [2]
Program 11111111111111111111111111111111 success
Program log: Resized account from 82 to 95
Program log: client_ip: 172.19.1.33
Program DZtnuQ839pSaDMFG5q1ad2V95G82S5EC4RrB3Ndw2Heb consumed 15979 of 200000 compute units
Program DZtnuQ839pSaDMFG5q1ad2V95G82S5EC4RrB3Ndw2Heb failed: custom program error: 0x1a
Error: Invalid Client IP

Validation shouldn't occur on delete.

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions