Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(drive): increase withdrawal limits to 2000 Dash per day #2287

Merged
merged 36 commits into from
Jan 14, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
6392c6a
chore(drive): reduce withdrawal limits
shumkov Oct 29, 2024
3d4db8d
Merge branch 'chore/dashmate/update-core-21.2-nightly' into new-core-…
shumkov Oct 29, 2024
a608e8b
chore: handle previous and new error during AU broadcasting
shumkov Oct 29, 2024
7f68c1f
Merge branch 'refs/heads/master' into chore/drive/increase-limit-and-…
shumkov Nov 1, 2024
61f3ce7
chore: introduce one more version
shumkov Nov 1, 2024
0470a6f
Merge branch 'chore/drive/increase-limit-and-signing' into new-core-a…
shumkov Nov 1, 2024
865226d
Merge branch 'chore/dashmate/update-core-21.2-nightly' into new-core-…
shumkov Nov 1, 2024
95b1b75
fix: error name
shumkov Nov 1, 2024
c60ee3a
Merge branch 'chore/drive/increase-limit-and-signing' into new-core-a…
shumkov Nov 1, 2024
2fd7340
fix: incorrect constant name
shumkov Nov 1, 2024
faf0978
revert: changes in v5
shumkov Nov 1, 2024
9888a60
Merge branch 'chore/drive/increase-limit-and-signing' into new-core-a…
shumkov Nov 1, 2024
5ad9462
chore(release): update changelog and bump version to 1.6.0-pr.2287.1 …
shumkov Nov 1, 2024
24177fa
feat: hardcoded identity transfers in strategy tests
pauldelucia Nov 4, 2024
99fe5fa
add comment
pauldelucia Nov 4, 2024
cee3098
Merge remote-tracking branch 'origin/v1.6-dev' into feat/hardcoded-id…
pauldelucia Nov 4, 2024
0d3e091
comment
pauldelucia Nov 5, 2024
e421514
use into_iter instead of iter
pauldelucia Nov 5, 2024
3d941ec
use current identities instead of hardcoded start identities
pauldelucia Nov 5, 2024
4bc0a65
let transfer keys be any security level or key type
pauldelucia Nov 5, 2024
dc48827
fix
pauldelucia Nov 5, 2024
cafda11
feat: hardcoded identity transfers in strategy tests (#2312)
pauldelucia Nov 5, 2024
b86f4e0
Merge branch 'v1.6-dev' of github.com:dashpay/platform into v1.6-dev
shumkov Nov 6, 2024
b21b4f1
chore: kick off CI
shumkov Nov 6, 2024
78ccacb
fix: unknown version error no platform version 6
shumkov Nov 6, 2024
b3d68cf
Merge branch 'v1.6-dev' into new-core-and-withdrawals
shumkov Nov 6, 2024
a9a6539
Merge branch 'chore/drive/increase-limit-and-signing' into new-core-a…
shumkov Nov 6, 2024
c2b4cea
Merge branch 'chore/dashmate/update-core-21.2-nightly' into new-core-…
shumkov Nov 6, 2024
97e0a55
Merge branch 'v1.7-dev' into new-core-and-withdrawals
shumkov Dec 12, 2024
7172866
chore: update version
shumkov Dec 12, 2024
f8aece8
Merge branch 'v1.7-dev' into new-core-and-withdrawals
shumkov Dec 12, 2024
25beeda
Merge branch 'refs/heads/v1.8-dev' into new-core-and-withdrawals
shumkov Jan 13, 2025
4c7e883
ci: temporary enable docker logs for successful runs
shumkov Jan 13, 2025
af96c0e
ci: disable back
shumkov Jan 13, 2025
34b67e7
chore: remove temporary versions
shumkov Jan 14, 2025
de4e627
refactor: make `daily_withdrawal_limit` function const
shumkov Jan 14, 2025
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
Prev Previous commit
Next Next commit
chore: update version
  • Loading branch information
shumkov committed Dec 12, 2024
commit 71728660a19a39519bd9e2ac30690079e0e2a7fd
13 changes: 0 additions & 13 deletions packages/rs-platform-version/src/version/v6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,6 @@ use crate::version::ProtocolVersion;

pub const PROTOCOL_VERSION_6: ProtocolVersion = 6;

/// This version contains some fixes for withdrawals.

// // We changed `pool_withdrawals_into_transactions_queue` to v1 in order to add pool
// // withdrawals on any validator quorums. v0 allowed us to pool only on the first two
// // quorums as workaround for Core v21 bug.
// methods: DRIVE_ABCI_METHOD_VERSIONS_V5,

/*// We changed `daily_withdrawal_limit` to v1 to increase daily withdrawal limit
// to 2000 Dash.
methods: DPP_METHOD_VERSIONS_V2,
*/


/// This version adds a fix for nonce validation.
pub const PLATFORM_V6: PlatformVersion = PlatformVersion {
protocol_version: PROTOCOL_VERSION_6,
Expand Down
16 changes: 10 additions & 6 deletions packages/rs-platform-version/src/version/v7.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ use crate::version::dpp_versions::dpp_costs_versions::v1::DPP_COSTS_VERSIONS_V1;
use crate::version::dpp_versions::dpp_document_versions::v1::DOCUMENT_VERSIONS_V1;
use crate::version::dpp_versions::dpp_factory_versions::v1::DPP_FACTORY_VERSIONS_V1;
use crate::version::dpp_versions::dpp_identity_versions::v1::IDENTITY_VERSIONS_V1;
use crate::version::dpp_versions::dpp_method_versions::v1::DPP_METHOD_VERSIONS_V1;
use crate::version::dpp_versions::dpp_method_versions::v2::DPP_METHOD_VERSIONS_V2;
use crate::version::dpp_versions::dpp_state_transition_conversion_versions::v2::STATE_TRANSITION_CONVERSION_VERSIONS_V2;
use crate::version::dpp_versions::dpp_state_transition_method_versions::v1::STATE_TRANSITION_METHOD_VERSIONS_V1;
use crate::version::dpp_versions::dpp_state_transition_serialization_versions::v1::STATE_TRANSITION_SERIALIZATION_VERSIONS_V1;
use crate::version::dpp_versions::dpp_state_transition_versions::v2::STATE_TRANSITION_VERSIONS_V2;
use crate::version::dpp_versions::dpp_validation_versions::v2::DPP_VALIDATION_VERSIONS_V2;
use crate::version::dpp_versions::dpp_voting_versions::v2::VOTING_VERSION_V2;
use crate::version::dpp_versions::DPPVersion;
use crate::version::drive_abci_versions::drive_abci_method_versions::v4::DRIVE_ABCI_METHOD_VERSIONS_V4;
use crate::version::drive_abci_versions::drive_abci_method_versions::v5::DRIVE_ABCI_METHOD_VERSIONS_V5;
use crate::version::drive_abci_versions::drive_abci_query_versions::v1::DRIVE_ABCI_QUERY_VERSIONS_V1;
use crate::version::drive_abci_versions::drive_abci_structure_versions::v1::DRIVE_ABCI_STRUCTURE_VERSIONS_V1;
use crate::version::drive_abci_versions::drive_abci_validation_versions::v4::DRIVE_ABCI_VALIDATION_VERSIONS_V4;
Expand All @@ -28,14 +28,16 @@ use crate::version::ProtocolVersion;

pub const PROTOCOL_VERSION_7: ProtocolVersion = 7;

/// This version adds token support.
//todo: make changes
/// This version contains some fixes for withdrawals.
pub const PLATFORM_V7: PlatformVersion = PlatformVersion {
protocol_version: PROTOCOL_VERSION_7,
drive: DRIVE_VERSION_V2,
drive_abci: DriveAbciVersion {
structs: DRIVE_ABCI_STRUCTURE_VERSIONS_V1,
methods: DRIVE_ABCI_METHOD_VERSIONS_V4,
// We changed `pool_withdrawals_into_transactions_queue` to v1 in order to add pool
// withdrawals on any validator quorums. v0 allowed us to pool only on the first two
// quorums as workaround for Core v21 bug.
methods: DRIVE_ABCI_METHOD_VERSIONS_V5,
validation_and_processing: DRIVE_ABCI_VALIDATION_VERSIONS_V4,
withdrawal_constants: DRIVE_ABCI_WITHDRAWAL_CONSTANTS_V2,
query: DRIVE_ABCI_QUERY_VERSIONS_V1,
Expand All @@ -52,7 +54,9 @@ pub const PLATFORM_V7: PlatformVersion = PlatformVersion {
identity_versions: IDENTITY_VERSIONS_V1,
voting_versions: VOTING_VERSION_V2,
asset_lock_versions: DPP_ASSET_LOCK_VERSIONS_V1,
methods: DPP_METHOD_VERSIONS_V1,
// We changed `daily_withdrawal_limit` to v1 to increase daily withdrawal limit
// to 2000 Dash.
methods: DPP_METHOD_VERSIONS_V2,
factory_versions: DPP_FACTORY_VERSIONS_V1,
},
system_data_contracts: SYSTEM_DATA_CONTRACT_VERSIONS_V1,
Expand Down
Loading