reduce out of funds tier to match free config and bump to version 1

This commit is contained in:
Bryan Stitt 2023-07-26 16:40:08 -07:00
parent 788ebff29f
commit d2f0d45dd2
5 changed files with 8 additions and 9 deletions

6
Cargo.lock generated

@ -1678,7 +1678,7 @@ dependencies = [
[[package]]
name = "entities"
version = "0.41.0"
version = "0.42.0"
dependencies = [
"ethers",
"sea-orm",
@ -3330,7 +3330,7 @@ dependencies = [
[[package]]
name = "migration"
version = "0.41.0"
version = "0.42.0"
dependencies = [
"chrono",
"sea-orm",
@ -6982,7 +6982,7 @@ dependencies = [
[[package]]
name = "web3_proxy"
version = "0.41.0"
version = "1.42.0"
dependencies = [
"anyhow",
"arc-swap",

@ -1,6 +1,6 @@
[package]
name = "entities"
version = "0.41.0"
version = "0.42.0"
edition = "2021"
[lib]

@ -1,6 +1,6 @@
[package]
name = "migration"
version = "0.41.0"
version = "0.42.0"
edition = "2021"
publish = false

@ -12,7 +12,7 @@ impl MigrationTrait for Migration {
(UserTier::MaxRequestsPerPeriod, Some("3000").into()),
(UserTier::MaxConcurrentRequests, Some("3").into()),
])
.and_where(Expr::col((UserTier::Title).eq("Premium Out Of Funds")))
.and_where(Expr::col(UserTier::Title).eq("Premium Out Of Funds"))
.to_owned();
manager.exec_stmt(update_out_of_funds_tier).await?;
@ -20,7 +20,7 @@ impl MigrationTrait for Migration {
Ok(())
}
async fn down(&self, manager: &SchemaManager) -> Result<(), DbErr> {
async fn down(&self, _manager: &SchemaManager) -> Result<(), DbErr> {
Ok(())
}
}
@ -28,7 +28,6 @@ impl MigrationTrait for Migration {
#[derive(Iden)]
enum UserTier {
Table,
Id,
Title,
MaxRequestsPerPeriod,
MaxConcurrentRequests,

@ -1,6 +1,6 @@
[package]
name = "web3_proxy"
version = "0.41.0"
version = "1.42.0"
edition = "2021"
default-run = "web3_proxy_cli"