Skip to content

Use new #[contractevent] macro #98

@esteblock

Description

@esteblock

In https://github.com/soroswap/aggregator/tree/feat/protocol-23

warning: use of deprecated method `soroban_sdk::events::Events::publish`: use the #[contractevent] macro on a contract event type
  --> aggregator/src/event.rs:34:10
   |
34 |         .publish(("SoroswapAggregator", symbol_short!("update")), event);
   |          ^^^^^^^


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions