Skip to content

Commit

Permalink
Fix deprecated events
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Apr 1, 2024
1 parent 7faacb9 commit 708645b
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion abi/IEthBlocklistErc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthBlocklistVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthErc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthFoxVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthGenesisVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthPrivErc20Vault.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthPrivVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IEthVault.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IVaultEthStaking.json
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
2 changes: 1 addition & 1 deletion abi/IVaultValidators.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"type": "address"
},
{
"indexed": false,
"indexed": true,
"internalType": "address",
"name": "keysManager",
"type": "address"
Expand Down
14 changes: 7 additions & 7 deletions contracts/interfaces/IVaultValidators.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ interface IVaultValidators is IVaultAdmin, IVaultState {
* @param caller The address of the function caller
* @param keysManager The address of the new keys manager
*/
event KeysManagerUpdated(address indexed caller, address keysManager);
event KeysManagerUpdated(address indexed caller, address indexed keysManager);

/**
* @notice Event emitted on validators manager address update
* @notice Event emitted on validators merkle tree root update (deprecated)
* @param caller The address of the function caller
* @param validatorsManager The address of the new validators manager
* @param validatorsRoot The new validators merkle tree root
*/
event ValidatorsManagerUpdated(address indexed caller, address indexed validatorsManager);
event ValidatorsRootUpdated(address indexed caller, bytes32 indexed validatorsRoot);

/**
* @notice Event emitted on validators merkle tree root update (deprecated)
* @notice Event emitted on validators manager address update
* @param caller The address of the function caller
* @param validatorsRoot The new validators merkle tree root
* @param validatorsManager The address of the new validators manager
*/
event ValidatorsRootUpdated(address indexed caller, bytes32 indexed validatorsRoot);
event ValidatorsManagerUpdated(address indexed caller, address indexed validatorsManager);

/**
* @notice The Vault validators manager address
Expand Down
2 changes: 1 addition & 1 deletion test/__snapshots__/SharedMevEscrow.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
exports[`SharedMevEscrow vault deployment gas 1`] = `
Object {
"calldataByteLength": 683,
"gasUsed": 167445,
"gasUsed": 167457,
}
`;

0 comments on commit 708645b

Please sign in to comment.