Repository navigation
feat: use consts for addrs - #660
Conversation
And expose actor IDs so we don't need to call `.id().unwrap()` to retrieve them.
3c7e602 to
af836ea
Compare
|
(happy to punt this if we don't want to do it now, it was just annoying me a bit) |
| macro_rules! define_singletons { | ||
| ($($name:ident = $id:literal,)*) => { | ||
| $( | ||
| paste! { |
There was a problem hiding this comment.
This won't have any affect at runtime, it just allows us to concatenate identifiers at compile time.
Rust thinks |
anorth
left a comment
There was a problem hiding this comment.
LGTM apart from the unused import thing. I would also be just as happy with a version that didn't use the macro.
@mriise found the issue and is pushing a fix |
|
we also had a workaround for serde, which was fixed in rust-lang/rust#89738. that is now gone |
* feat: use consts for addrs And expose actor IDs so we don't need to call `.id().unwrap()` to retrieve them. Co-authored-by: mriise <me@mriise.net>
* feat: use consts for addrs And expose actor IDs so we don't need to call `.id().unwrap()` to retrieve them. Co-authored-by: mriise <me@mriise.net>
* feat: use consts for addrs And expose actor IDs so we don't need to call `.id().unwrap()` to retrieve them. * remove old TODO and extern crate refs Co-authored-by: mriise <me@mriise.net>
* Add FIP proposal for WindowPoSt Grindability Fix * Update fip-00xx.md to include the existing discussion link * Apply some review feedback * Apply jake's feedback * Update the header to the proper template style * Apply review feedback * Update fip-00xx.md * Rename FIP to the assigned number * Apply review feedback * Flesh out details of the two-phase network upgrade --------- Co-authored-by: DrPeterVanNostrand <jnz@riseup.net> Co-authored-by: Kaitlin Beegle <46908964+kaitlin-beegle@users.noreply.github.com> Co-authored-by: Aayush <arajasek94@gmail.com>
And expose actor IDs so we don't need to call
.id().unwrap()to retrieve them.