Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor environment event emitter #3120

Merged
merged 1 commit into from
Aug 30, 2022
Merged

Refactor environment event emitter #3120

merged 1 commit into from
Aug 30, 2022

Commits on Aug 30, 2022

  1. Refactor environment event emitter

    1. move event.go & event_test.go from handler into environment
    2. renamed (h *EventHandler) to (emitter *eventEmitter)
    3. renamed (e *EventCollection) to (collection *EventCollection)
    4. removed Child & Merge from EventCollection (dead code)
    5. added EventEmitter interface and NoEventEmitter for scripts
    6. merged TransactionEnv.EmitEvent's tracing / metering logic into
       eventEmitter.EmitEvent.
    pattyshack committed Aug 30, 2022
    Configuration menu
    Copy the full SHA
    6947fb0 View commit details
    Browse the repository at this point in the history