Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name = "init4-bin-base"

description = "Internal utilities for binaries produced by the init4 team"
keywords = ["init4", "bin", "base"]
version = "0.19.1"
version = "0.20.0"
edition = "2021"
rust-version = "1.85"
authors = ["init4", "James Prestwich", "evalir"]
rust-version = "1.92"
authors = ["init4", "James Prestwich", "evalir", "Fraser Hutchison"]
license = "MIT OR Apache-2.0"
homepage = "https://github.com/init4tech/bin-base"
repository = "https://github.com/init4tech/bin-base"
Expand All @@ -15,9 +15,9 @@ repository = "https://github.com/init4tech/bin-base"
init4-from-env-derive = { version = "0.2.0", path = "from-env-derive" }

# Signet
signet-cold-sql = { version = "0.7.1", optional = true, default-features = false, features = ["postgres", "sqlite"] }
signet-constants = { version = "0.16.0" }
signet-tx-cache = { version = "0.16.0", optional = true }
signet-cold-sql = { version = "0.8.0", optional = true, default-features = false, features = ["postgres", "sqlite"] }
signet-constants = { version = "0.17.1" }
signet-tx-cache = { version = "0.17.1", optional = true }

# alloy
alloy = { version = "1.0.35", optional = true, default-features = false, features = ["std", "signer-local", "consensus", "network"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Common functionality for binaries produced by the [`init4`] project. This crate

```toml
[dependencies]
init4-bin-base = "0.18"
init4-bin-base = "0.20"
```

## Quick Start
Expand Down
2 changes: 1 addition & 1 deletion src/perms/builders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ impl Builders {

/// Get the index of the builder that is allowed to sign a block for a
/// particular timestamp.
pub fn index(&self, timestamp: u64) -> usize {
pub const fn index(&self, timestamp: u64) -> usize {
self.config
.calc()
.slot_containing(timestamp)
Expand Down