Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
d61d7fe
init work. Sydney compiles and runs. Brooklyn in progress
Sep 7, 2023
0e1b765
update substrate-ibc.git branch to polkadot-v0.9.43
baidang201 Sep 7, 2023
976f86a
update web3 version
baidang201 Sep 8, 2023
e4024a4
fix brooklyn runtime
baidang201 Sep 8, 2023
3ed0146
Update chain_extensions.rs
baidang201 Sep 8, 2023
7f30662
fix brooklyn
baidang201 Sep 8, 2023
ca78ffa
fix sydney mock
baidang201 Sep 8, 2023
e87b040
remove unuser import
baidang201 Sep 8, 2023
217ba76
update beefy_params min_block_delta to 8
baidang201 Sep 12, 2023
dc7ba3a
Remove redundant net_config init
baidang201 Sep 13, 2023
1128db1
fix rpc port parse
baidang201 Sep 15, 2023
b4cb51b
replace from_ref_time to from_parts
baidang201 Sep 15, 2023
9cfc005
update allowlist_forbids_become_validator metadata
baidang201 Sep 15, 2023
8d07a55
fix find_ws_http_url_from_output parse
baidang201 Sep 18, 2023
61558d4
cargo fmt
baidang201 Sep 18, 2023
ef4d50c
Merge branch 'main' into substrate-ibc-0.9.43
baidang201 Sep 18, 2023
ac5a57a
cargo clippy
baidang201 Sep 18, 2023
0544d4b
Update Cargo.lock
baidang201 Sep 18, 2023
b171678
fix lock_api::rwlock::RwLockWriteGuard doesn't implement `std::fmt::D…
baidang201 Sep 19, 2023
d29205e
update substrate-ibc.git source hash
baidang201 Sep 19, 2023
903363a
Do not use hard-coded constants as call weight
obsessed-cake Sep 19, 2023
f8f427e
fixnew_native_or_wasm_executor
baidang201 Sep 20, 2023
686f6cf
remove unuse import
baidang201 Sep 20, 2023
906ba04
Refactor redundant functions get_address_from_caller
baidang201 Sep 20, 2023
8e94c2d
fix cargo clippy
baidang201 Sep 20, 2023
c7765c8
update chainid config (#190)
baidang201 Sep 24, 2023
bcbca01
update examples/cross-vm-communication readme
baidang201 Sep 25, 2023
2c724e9
Update xvm.sol
baidang201 Sep 25, 2023
6fc49f0
update wasm-to-evm xvm_call params
baidang201 Sep 26, 2023
d237ed2
Merge branch 'main' into substrate-ibc-0.9.43
baidang201 Sep 27, 2023
1f91c87
fix merge build error
baidang201 Sep 27, 2023
c56022f
Merge branch 'main' into substrate-ibc-0.9.43
baidang201 Sep 27, 2023
e2bd427
fix ci lint
baidang201 Sep 27, 2023
db0bc4a
Merge branch 'substrate-ibc-0.9.43' of https://github.com/ggxchain/gg…
baidang201 Sep 27, 2023
281d932
Merge branch 'main' into substrate-ibc-0.9.43
akorchyn Oct 4, 2023
c3a757c
Merge branch 'main' into substrate-ibc-0.9.43
baidang201 Oct 6, 2023
82ec431
fix brooklyn load chainId from spec file
baidang201 Oct 9, 2023
0402690
update web3 version
baidang201 Oct 11, 2023
7bd5d51
Test fix and flake clean-up (#198)
akorchyn Oct 13, 2023
4330ea1
Update flake.nix
akorchyn Oct 13, 2023
1887cd3
fixed CI
Oct 16, 2023
eaa5d09
Merge branch 'main' into substrate-ibc-0.9.43
akorchyn Oct 16, 2023
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
fix sydney mock
  • Loading branch information
baidang201 committed Sep 8, 2023
commit ca78ffa19d9b2faaf8b44ffadf4b7cb58db7187f
10 changes: 10 additions & 0 deletions runtime/sydney/src/pos/currency.rs
Original file line number Diff line number Diff line change
Expand Up @@ -801,6 +801,10 @@ mod tests {
type MaxLocks = ConstU32<50>;
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
type HoldIdentifier = ();
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

impl pallet_treasury::Config for Test {
Expand Down Expand Up @@ -917,6 +921,11 @@ mod tests {
parameter_types! {
pub BlockGasLimit: U256 = U256::max_value();
pub WeightPerGas: Weight = Weight::from_ref_time(20_000);
/// The amount of gas per PoV size. Value is calculated as:
///
/// max_gas_limit = max_tx_ref_time / WEIGHT_PER_GAS = max_pov_size * gas_limit_pov_size_ratio
/// gas_limit_pov_size_ratio = ceil((max_tx_ref_time / WEIGHT_PER_GAS) / max_pov_size)
pub const GasLimitPovSizeRatio: u64 = 4; // !!!!! TODO: ADJUST IT
}

impl pallet_evm::Config for Test {
Expand All @@ -942,6 +951,7 @@ mod tests {
type FindAuthor = FindAuthorTruncated;
type WeightInfo = ();
type Timestamp = Timestamp;
type GasLimitPovSizeRatio = GasLimitPovSizeRatio;
}

pub fn test_runtime() -> sp_io::TestExternalities {
Expand Down
4 changes: 4 additions & 0 deletions runtime/sydney/src/pos/session_payout/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ impl pallet_balances::Config for Test {
type MaxLocks = ConstU32<50>;
type MaxReserves = ();
type ReserveIdentifier = [u8; 8];
type HoldIdentifier = ();
type FreezeIdentifier = ();
type MaxHolds = ConstU32<0>;
type MaxFreezes = ConstU32<0>;
}

parameter_types! {
Expand Down