Skip to content

Conversation

@tejasbadadare
Copy link
Contributor

@tejasbadadare tejasbadadare commented Apr 23, 2025

Summary & Rationale

Pulse has two distinct functionalities: the scheduler component (under active development) and the delayed execution aka "request & fulfill" component (on hold for now).

Chatted with Ali on this topic, and it feels confusing to have both products share the same name since they are not really related to each other. It's ambiguous what's being referred to when someone talks about Pulse, both internally and externally.

Furthermore, the name "Pulse" makes more sense when referring to a scheduler (updating feeds on a heartbeat, keeping a finger on the pulse.)

Thus, in this PR, we rename the Pulse Scheduler product to inherit the name Pulse -- we'll refer to it simply as Pulse going forward.

We also give the request & fulfill product the (temporary) name Echo, I think it fits the product well (receiving a call back at a later time.) But this is just an idea, keen to hear other people's opinions :) another idea I had for the name was Chronos, the Greek god of time, fitting in with our Greek mythology theme.

TLDR - to make naming more consistent:

  • Pulse → Echo (request & fulfill)
  • PulseScheduler → Pulse (scheduler)

Implementation details

  • Renamed and moved contents of target_chains/ethereum/contracts/contracts/pulse to target_chains/ethereum/contracts/contracts/echo
  • Moved contents of target_chains/ethereum/contracts/contracts/pulse/scheduler to target_chains/ethereum/contracts/contracts/pulse
    • I kept these files named the same (e.g. IScheduler.sol) to avoid confusion in the git history, and it should be okay to keep the user facing contracts named Scheduler. But we can change this to Pulse as well if we want.

How has this been tested?

  • Current tests cover my changes
    • Updated all affected tests. Refactored a bit of shared test code to account for the naming changes.
  • Added new tests
  • Manually tested the code

@vercel
Copy link

vercel bot commented Apr 23, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm
component-library ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm
entropy-debugger ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm
insights ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm
proposals ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm
staking ⬜️ Ignored (Inspect) Apr 23, 2025 7:00pm

@tejasbadadare tejasbadadare changed the title refactor(pulse): rename Pulse -> Echo refactor(pulse): rename Pulse → Echo and PulseScheduler → Pulse Apr 23, 2025
@tejasbadadare tejasbadadare merged commit c2f38ba into main Apr 23, 2025
10 checks passed
@tejasbadadare tejasbadadare deleted the tb/pulse/rename branch April 23, 2025 20:21
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.

3 participants