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

Updates for Oracles to transition to helium-lib #401

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Commits on Oct 22, 2024

  1. Move SubDao::dc_key() -> Dao::dc_key()

    The Data Credits Key is not SubDao specific.
    michaeldjeffrey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    97dd387 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cebb1d3 View commit details
    Browse the repository at this point in the history
  3. add helper for going from solana keypair to wrapped helium-lib keypair

    The solana_sdk provides a `read_keypair_file` function, but it returns a
    Result with a Box<dyn Error>. Rather than recreate all those functions
    for a wrapped Keypair, I thought to start with an easy conversion from
    one to the other. So you can read the keypair with the solana_sdk, then
    very quickly turn it into a helium-lib keypair.
    
    Bring the discussion!!!
    michaeldjeffrey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    2463bd8 View commit details
    Browse the repository at this point in the history
  4. Add boosting module, function for starting hex boost

    The module is named boosting so there is hopefully less confusion with
    the existance of `helium_anchor_lang::hexboosting` that is autogenerated.
    michaeldjeffrey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    a1bcc02 View commit details
    Browse the repository at this point in the history
  5. merge imports

    michaeldjeffrey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8cd69c3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1281f76 View commit details
    Browse the repository at this point in the history
  7. Move ReadWrite trait to helium-lib

    You can directly read a helium_lib::Keypair from a file that is a solana keypair.
    michaeldjeffrey committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    8c43af3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    1ddfca0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ec815c5 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a13efec View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    d928033 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Configuration menu
    Copy the full SHA
    0c3bde6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    baaa3c1 View commit details
    Browse the repository at this point in the history
  3. update helium-anchor-gen with looser dep around anchor-client

    we can not go all the way back to 0.28 because of solana-sdk. So we go
    back as far as we can without causing problems for upstream things like oracles.
    michaeldjeffrey committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    c65f66a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb1560c View commit details
    Browse the repository at this point in the history