-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix dependencies #20
fix dependencies #20
Conversation
🔀 chore(Cargo.toml): reformat members list for better readability and maintainability
…me and sp-core dependencies to allow for flexibility in using compatible versions 🔧 chore(Cargo.toml): remove specific version requirement for sp-runtime and sp-core dependencies to allow for flexibility in using compatible versions 🔧 chore(Cargo.toml): remove specific version requirement for sp-runtime and sp-core dependencies to allow for flexibility in using compatible versions
@@ -14,20 +14,20 @@ dependencies = [ | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1,14 +1,16 @@ | |||
[workspace] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -23,13 +23,13 @@ scale-info = { default-features = false, version = "2.0.1", features = [ | |||
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of d76a5a - 2ee1e0:
- Updated
scale-info
,frame-support
,frame-system
,frame-benchmarking
,sp-runtime
,pallet-uniques
,pallet-balances
, andpallet-rbac
to use thepolkadot-v1.0.0
branch from theparitytech/substrate
repository. - Updated
sp-core
andsp-io
in thedev-dependencies
section to use thepolkadot-v1.0.0
branch from theparitytech/substrate
repository.
@@ -23,11 +23,11 @@ scale-info = { version = "2.0.1", default-features = false, features = [ | |||
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -23,13 +23,13 @@ scale-info = { version = "2.0.1", default-features = false, features = [ | |||
frame-support = { default-features = false, git = "https://github.com/paritytech/substrate.git", branch = "polkadot-v1.0.0" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 50e8ae7: Error: couldn't generate summary |
GPT summary of cfb660d:
PR summary so far:
|
…-info crates to improve compatibility and stability 🚀 chore(Cargo.toml): update dependencies versions for frame-benchmarking, frame-support, and frame-system crates to improve compatibility and stability 🚀 chore(Cargo.toml): update dependencies versions for sp-core, sp-io, and sp-runtime crates to improve compatibility and stability 🔨 refactor(lib.rs): remove unused imports and update documentation links 🔨 refactor(lib.rs): remove unused storage item MyBytesVal and associated dispatchable insert_my_bytes 🔨 refactor(lib.rs): remove unused migrations module 🔨 refactor(lib.rs): remove unused tests module 🔨 refactor(lib.rs): remove unused benchmarking module 🔨 refactor(lib.rs): remove unused STORAGE_VERSION constant 🔨 refactor(lib.rs): remove unused Pallet struct 🔨 refactor(lib.rs): remove unused SomethingStored event parameter names 🔨 refactor(lib.rs): remove unused MyBytes type 🔨 refactor(lib.rs): remove unused Error variant parameter names 🔨 refactor(lib.rs): remove unused cause_error dispatchable weight calculation 🔨 refactor(lib.rs): remove unused do_something dispatchable weight calculation 🔨 refactor(lib.rs): remove unused do_something dispatchable origin check 🔨 refactor(lib.rs): remove unused do_something dispatchable event emission 🔨 refactor(lib.rs): remove unused do_something dispatchable storage update 🔨 refactor(lib.rs): remove unused do_something dispatchable parameter names 🔨 refactor(lib.rs): remove unused do_something dispatchable return type 🔨 refactor(lib.rs): remove unused Config trait type WeightInfo 🔨 refactor(lib.rs): remove unused Config trait type RuntimeEvent 🔨 refactor(lib.rs): remove unused Config trait 🔨 refactor(lib.rs): remove unused pallet module 🔨 refactor(mock.rs): refactor mock runtime configuration to improve readability and remove unused code 🔧 chore(mock.rs): update SS58Prefix to 42 for consistency with the network configuration
GPT summary of 93d00b7: Error: couldn't generate summary PR summary so far:
|
… the Rust toolchain configuration
@@ -64,7 +64,7 @@ impl<T: Config> Pallet<T> { | |||
AfloatCollectionId::<T>::put(collection_id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -33,7 +33,7 @@ impl<T: Config> Pallet<T> { | |||
vault_members.clone().into_iter().try_for_each(|acc| { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 046dcc - a963f9:
- Added a check for if a user has an xpub when creating a vault
- Updated an error message when a signer does not have the permissions needed to sign a proposal
- Updated the logic for when a xpub is available
- Updated logic for when a proposal can be finalized
- Updated logic for when a vault can be broadcasted
- Updated the logic for when a proposal can be broadcasted
- Updated the logic for when a proposal can be retrieved from the network
@@ -279,7 +279,7 @@ pub mod pallet { | |||
// transactions without it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 67d442 - 632f22:
- Changed the return type of
if !signer.can_sign()
fromreturn;
toreturn
- Changed the return type of
if tx_res.is_err()
indo_insert_descriptors
anddo_insert_psbt
fromreturn Some(tx_res);
toreturn Some(tx_res)
- Added checks for signed payloads in
ocw_insert_descriptors
,ocw_insert_psbts
, andocw_finalize_psbts
withreturn InvalidTransaction::BadProof.into()
if the payloads are not verified
@@ -117,8 +117,8 @@ impl<T: Config> GroupMember<T> { | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -341,7 +341,7 @@ pub mod pallet { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -43,10 +43,10 @@ pub struct ParentInfo<T: Config> { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1606,8 +1606,8 @@ impl<T: Config> Pallet<T> { | |||
DrawdownsInfo::<T>::get(drawdown_id).ok_or(Error::<T>::DrawdownNotFound)?; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 5ad228 - 5faf71:
- Ensured that drawdown and revenue types are supported for bulk upload.
- Checked that a user can only have one role and that an admin role cannot be added.
- Ensured that investors can only be assigned to one project, developers to three, and contractors to five.
- Ensured that administrators have global scope and cannot be assigned to a project.
- Ensured that drawdowns, revenues, and revenue transactions are in the correct status for actions to be performed on them.
- Transferred funds from admin to user.
@@ -376,8 +376,8 @@ fn get_drawdown_id( | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 51ad5c - c9d233:
- Modifications were made to the
get_drawdown_id()
,get_transaction_id()
,get_revenue_transaction_id()
,expenditures_add_a_hard_cost_budget_expenditure_for_a_given_project_works()
,expenditures_add_a_softcost_budget_expenditure_for_a_given_project_works()
,expenditures_add_an_operational_budget_expenditure_for_a_given_project_works()
,expenditures_add_an_others_budget_expenditure_for_a_given_project_works()
,expenditures_edit_a_given_expenditure_works()
,expenditures_admnistrator_tries_to_update_a_non_existent_expenditure_should_fail()
, andexpenditures_delete_a_selected_expenditure_works()
functions, which involved changes to the comparison logic and formatting of the code.
@@ -176,7 +176,7 @@ impl<T: Config> Pallet<T> { | |||
AccountOrApplication::Application(application_id) => <ApplicationsByAccount<T>>::iter() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of ee3073 - f6924d:
- Fixed an issue with the
AccountOrApplication::Application
function to return the correct account - Fixed an issue with the
MarketplaceRole::Owner
andMarketplaceRole::Admin
functions to prevent admins from deleting themselves - Fixed an issue with the
create_offer
function to ensure the price is valid - Fixed an issue with the
create_offer
function to ensure the holder of NFT is in the same marketplace as the caller making the offer - Fixed an issue with the
approve_application
function to prevent applications that are still pending or have already been approved from being approved again - Fixed an issue with the
enlist_sell_offer
function to ensure the owner is in the marketplace - Fixed an issue with the
redeem_item
function to ensure the collection exists
@@ -238,8 +238,8 @@ fn apply_to_marketplace_works() { | |||
)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of e159b7 - e88400:
- Updated the logic for the
apply_to_marketplace
andapply_with_custodian
functions - Updated the logic for the
remove_marketplace
function to delete the storage from theapplicants_by_marketplace
for all application statuses (Pending, Approved, and Rejected) - Updated the logic for the
remove_marketplace
function to delete the storage from theapplications_by_account
andapplications
@@ -150,21 +150,21 @@ impl<T: Config<I>, I: 'static> Pallet<T, I> { | |||
None => return DepositConsequence::UnknownAsset, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of e9ffaf - 98f0c4:
- Added checks for overflow when increasing or decreasing the supply of an asset
- Added checks for when the minimum balance of an asset is not met
- Added checks for when an account does not have sufficient funds
- Added checks for when an account is frozen
- Added checks for when an asset is frozen
- Added checks for when an account or asset is removed
- Added checks for when an approval is destroyed
- Added checks for when an admin does not have permission
@@ -42,7 +42,7 @@ impl<T: Config<I>, I: 'static> StoredMap<(T::AssetId, T::AccountId), T::Extra> f | |||
if let Some(ref mut account) = maybe_account { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1159,7 +1159,7 @@ pub mod pallet { | |||
ensure!(details.status == AssetStatus::Live, Error::<T, I>::LiveAsset); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -123,7 +123,7 @@ pub enum ExistenceReason<Balance> { | |||
impl<Balance> ExistenceReason<Balance> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of c71011f: Error: couldn't generate summary |
GPT summary of 90c5ad4:
PR summary so far:
|
🔧 chore(mock.rs): remove unused code and update runtime configuration to improve code cleanliness and maintainability
…tion ✨ feat(functions.rs): add support for process.env.PORT environment variable to be able to run app on a configurable port 🔨 refactor(lib.rs): update Moment type to use BlockNumberFor<Self> instead of Self::BlockNumber to improve compatibility and scalability 🔥 chore(lib.rs): comment out unused type RemoveOrigin to improve code readability
@@ -9,7 +9,6 @@ use sp_runtime::{ | |||
testing::Header, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of afee51 - eabfa5:
- Removed type
UncheckedExtrinsic
- Changed type
Block
fromHeader
toMockBlock
- Changed type
Block
fromBlock
toMockBlock
- Changed type
NodeBlock
fromBlock
toMockBlock
- Changed type
UncheckedExtrinsic
fromMockUncheckedExtrinsic
to()
- Changed type
Header
fromHeader
toBlock
@@ -13,17 +13,13 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, Extrinsic as ExtrinsicT, IdentifyAccount, IdentityLookup, Verify}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -8,15 +8,11 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, IdentityLookup}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -62,7 +62,7 @@ impl<T: Config> Pallet<T> { | |||
) -> AttributeValue<T> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 140932 - a8e637:
- Changed the
attribute
function to convert the attribute to aBoundedVec
and handle errors when converting - Changed the
collection_exists
andinstance_exists
functions to returntrue
if the collection/instance exists - Changed the
create_frunique
function to convert theNextFrunique
to anItemId
and handle errors when minting - Changed the
do_nft_division
function to clone the collection argument - Changed the
redeem
function to clone the collection argument
@@ -8,14 +8,10 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, IdentityLookup}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -7,16 +7,12 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, IdentityLookup}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -7,16 +7,12 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, IdentityLookup}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 0b699c - 5a583e:
- Changed the type of
UncheckedExtrinsic
fromframe_system::mocking::MockUncheckedExtrinsic<Test>
toframe_system::mocking::MockBlock<Test>
- Changed the type of
Block
fromframe_system::mocking::MockBlock<Test>
toframe_system::mocking::MockBlock<Test>
- Removed the type of
NodeBlock
- Changed the type of
Header
fromHeader
toBlock
- Added a type of
BlockHashCount
@@ -37,12 +37,20 @@ pub mod pallet { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -11,7 +11,6 @@ use sp_runtime::{ | |||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of 788ebb - dc9351:
- Changed the type of
Balance
tou128
- Removed
UncheckedExtrinsic
type - Updated
Block
type toframe_system::mocking::MockBlock<Test>
- Updated
System
pallet to includeConfig
,Storage
, andEvent<T>
- Updated
GatedMarketplace
pallet to includeStorage
andEvent<T>
- Updated
Config
to includeHashing
,AccountId
,Lookup
,Block
,RuntimeEvent
,BlockHashCount
, andVersion
@@ -33,14 +33,10 @@ use sp_runtime::{ | |||
traits::{BlakeTwo256, IdentityLookup}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -7,15 +7,11 @@ use sp_runtime::{ | |||
testing::Header, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPT summary of d5a7d32: Error: couldn't generate summary |
GPT summary of e5bfaa6:
PR summary so far:
|
PR summary so far: