Skip to content

Agent is not familiar with Aptos Randomness #29

@0xmaayan

Description

@0xmaayan

Seems like the agent doesn't know about the randomness restrictions:Randomness APIs calls must originate from a private entry function withIt created a function that uses randomness but the entry function isn't private, and instead opted to silence the linter with #[lint::allow_unsafe_randomness]. More generally speaking it should be trained to not ignore the linter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions