Revert "use cost model to limit new account creation (#21369)"
This reverts commit 90f41fd9b7
.
This commit is contained in:
committed by
GitHub
parent
90f41fd9b7
commit
87e577db4c
@@ -330,7 +330,6 @@ pub enum DbTransactionErrorCode {
|
||||
WouldExceedMaxBlockCostLimit,
|
||||
UnsupportedVersion,
|
||||
InvalidWritableAccount,
|
||||
WouldExceedMaxAccountDataCostLimit,
|
||||
}
|
||||
|
||||
impl From<&TransactionError> for DbTransactionErrorCode {
|
||||
@@ -359,9 +358,6 @@ impl From<&TransactionError> for DbTransactionErrorCode {
|
||||
TransactionError::WouldExceedMaxBlockCostLimit => Self::WouldExceedMaxBlockCostLimit,
|
||||
TransactionError::UnsupportedVersion => Self::UnsupportedVersion,
|
||||
TransactionError::InvalidWritableAccount => Self::InvalidWritableAccount,
|
||||
TransactionError::WouldExceedMaxAccountDataCostLimit => {
|
||||
Self::WouldExceedMaxAccountDataCostLimit
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user