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
6 changes: 0 additions & 6 deletions src/message_pool/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ impl Default for MpoolConfig {
}

impl MpoolConfig {
#[cfg(test)]
/// Saves message pool `config` to the database, to easily reload.
pub fn save_config<DB: SettingsStore>(&self, store: &DB) -> anyhow::Result<()> {
store.write_bin(MPOOL_CONFIG_KEY, &fvm_ipld_encoding::to_vec(&self)?)
}

/// Returns the low limit capacity of messages to allocate.
pub fn size_limit_low(&self) -> i64 {
self.size_limit_low
Expand Down
2 changes: 0 additions & 2 deletions src/message_pool/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ pub enum Error {
GasPriceTooLow,
#[error("gas fee cap is too low")]
GasFeeCapTooLow,
#[error("Cannot send more Filecoin than will ever exist")]
MessageValueTooHigh,
#[error("Message sequence too low")]
SequenceTooLow,
#[error("Not enough funds to execute transaction")]
Expand Down
Loading
Loading