You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/batch/tests/document/creation.rs
+137Lines changed: 137 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,8 @@ mod creation_tests {
7
7
use dapi_grpc::platform::v0::get_contested_resource_vote_state_request::GetContestedResourceVoteStateRequestV0;
8
8
use dapi_grpc::platform::v0::get_contested_resource_vote_state_response::{get_contested_resource_vote_state_response_v0,GetContestedResourceVoteStateResponseV0};
9
9
use assert_matches::assert_matches;
10
+
use dpp::platform_value::string_encoding::Encoding;
11
+
use dpp::prelude::Identifier;
10
12
use rand::distributions::Standard;
11
13
use dpp::consensus::basic::document::DocumentFieldMaxSizeExceededError;
12
14
use dpp::consensus::ConsensusError;
@@ -2468,6 +2470,141 @@ mod creation_tests {
2468
2470
assert_eq!(consensus_error.to_string(),"Document Creation on 86LHvdC1Tqx5P97LQUSibGFqf2vnKFpB6VkqQ7oso86e:card is not allowed because of the document type's creation restriction mode Owner Only");
0 commit comments