mirror of
				https://github.com/0glabs/0g-chain.git
				synced 2025-11-04 00:07:51 +00:00 
			
		
		
		
	ci: fix internal testnet evmutil params (#1641)
we never voted on a param change proposal we submitted. now we do so the proposal actually takes effect.
This commit is contained in:
		
							parent
							
								
									1c7911aabf
								
							
						
					
					
						commit
						80c8c2c0f0
					
				
							
								
								
									
										4
									
								
								.github/scripts/seed-internal-testnet.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/scripts/seed-internal-testnet.sh
									
									
									
									
										vendored
									
									
								
							@ -156,8 +156,12 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
 | 
				
			|||||||
# make sure to update god committee member permissions for the module
 | 
					# make sure to update god committee member permissions for the module
 | 
				
			||||||
# and params being updated (see below for example)
 | 
					# and params being updated (see below for example)
 | 
				
			||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
 | 
					# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
 | 
				
			||||||
 | 
					# committee 1 is the stability committee. on internal testnet, this has only one member.
 | 
				
			||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
					kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1)
 | 
				
			||||||
 | 
					kava tx committee vote 1 yes --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# fetch current module params
 | 
					# fetch current module params
 | 
				
			||||||
updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params)
 | 
					updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params)
 | 
				
			||||||
printf "updated evm util module params\n %s" , "$updatedEvmUtilParams"
 | 
					printf "updated evm util module params\n %s" , "$updatedEvmUtilParams"
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										3
									
								
								.github/scripts/seed-protonet.sh
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.github/scripts/seed-protonet.sh
									
									
									
									
										vendored
									
									
								
							@ -150,6 +150,9 @@ printf "original evm util module params\n %s" , "$originalEvmUtilParams"
 | 
				
			|||||||
# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
 | 
					# https://github.com/Kava-Labs/kava/pull/1556/files#diff-0bd6043650c708661f37bbe6fa5b29b52149e0ec0069103c3954168fc9f12612R900-R903
 | 
				
			||||||
kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
					kava tx committee submit-proposal 1 "$proposalFileName" --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# vote on the proposal. this assumes no other committee proposal has ever been submitted (id=1)
 | 
				
			||||||
 | 
					kava tx committee vote 1 yes --gas 2000000 --gas-prices 0.01ukava --from god -y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# fetch current module params
 | 
					# fetch current module params
 | 
				
			||||||
updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params)
 | 
					updatedEvmUtilParams=$(curl https://api.app.internal.testnet.us-east.production.kava.io/kava/evmutil/v1beta1/params)
 | 
				
			||||||
printf "updated evm util module params\n %s" , "$updatedEvmUtilParams"
 | 
					printf "updated evm util module params\n %s" , "$updatedEvmUtilParams"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user