Skip to content

Commit 3189415

Browse files
authored
Merge pull request #291 from hyperledger-labs/fix-contract-name
Rename to IBCChannelUpgradeConfirmOpenTimeoutCancel Signed-off-by: Jun Kimura <jun.kimura@datachain.jp>
2 parents cf2cbf5 + 119273e commit 3189415

File tree

4 files changed

+14
-11
lines changed

4 files changed

+14
-11
lines changed

.gas-snapshot

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ IBCMockAppTest:testHandshakeBetweenDifferentPorts() (gas: 3339603)
99
IBCMockAppTest:testPacketRelay() (gas: 13935831)
1010
IBCMockAppTest:testPacketTimeout() (gas: 4284259)
1111
ICS24HostTest:testValidatePortIdentifier() (gas: 37060)
12-
TestICS02:testCreateClient() (gas: 36638179)
12+
TestICS02:testCreateClient() (gas: 36638191)
1313
TestICS02:testHeightToUint128((uint64,uint64)) (runs: 256, μ: 887, ~: 887)
14-
TestICS02:testInvalidCreateClient() (gas: 36535290)
15-
TestICS02:testInvalidUpdateClient() (gas: 36534306)
16-
TestICS02:testRegisterClient() (gas: 36189972)
17-
TestICS02:testRegisterClientDuplicatedClientType() (gas: 36175281)
18-
TestICS02:testRegisterClientInvalidClientType() (gas: 36204787)
19-
TestICS02:testUpdateClient() (gas: 36702506)
14+
TestICS02:testInvalidCreateClient() (gas: 36535302)
15+
TestICS02:testInvalidUpdateClient() (gas: 36534318)
16+
TestICS02:testRegisterClient() (gas: 36189984)
17+
TestICS02:testRegisterClientDuplicatedClientType() (gas: 36175293)
18+
TestICS02:testRegisterClientInvalidClientType() (gas: 36204799)
19+
TestICS02:testUpdateClient() (gas: 36702518)
2020
TestICS03Handshake:testConnOpenAck() (gas: 1858230)
2121
TestICS03Handshake:testConnOpenConfirm() (gas: 2054143)
2222
TestICS03Handshake:testConnOpenInit() (gas: 1429838)

contracts/core/04-channel/IBCChannelUpgrade.sol

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,10 @@ contract IBCChannelUpgradeInitTryAck is IBCChannelUpgradeBase, IIBCChannelUpgrad
583583
}
584584
}
585585

586-
contract IBCChannelUpgradeConfirmTimeoutCancel is IBCChannelUpgradeBase, IIBCChannelUpgradeConfirmOpenTimeoutCancel {
586+
contract IBCChannelUpgradeConfirmOpenTimeoutCancel is
587+
IBCChannelUpgradeBase,
588+
IIBCChannelUpgradeConfirmOpenTimeoutCancel
589+
{
587590
/**
588591
* @dev See {IIBCChannelUpgrade-channelUpgradeConfirm}
589592
*/

tests/foundry/src/Deploy.s.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {IBCChannelPacketSendRecv} from "../../../contracts/core/04-channel/IBCCh
1010
import {IBCChannelPacketTimeout} from "../../../contracts/core/04-channel/IBCChannelPacketTimeout.sol";
1111
import {
1212
IBCChannelUpgradeInitTryAck,
13-
IBCChannelUpgradeConfirmTimeoutCancel
13+
IBCChannelUpgradeConfirmOpenTimeoutCancel
1414
} from "../../../contracts/core/04-channel/IBCChannelUpgrade.sol";
1515
import {IIBCHandler} from "../../../contracts/core/25-handler/IIBCHandler.sol";
1616
import {OwnableIBCHandler} from "../../../contracts/core/25-handler/OwnableIBCHandler.sol";
@@ -39,7 +39,7 @@ contract DeployScript is Script {
3939
new IBCChannelPacketSendRecv(),
4040
new IBCChannelPacketTimeout(),
4141
new IBCChannelUpgradeInitTryAck(),
42-
new IBCChannelUpgradeConfirmTimeoutCancel()
42+
new IBCChannelUpgradeConfirmOpenTimeoutCancel()
4343
)
4444
);
4545

tests/foundry/src/helpers/IBCTestHelper.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ abstract contract IBCTestHelper is Test {
3030
new IBCChannelPacketSendRecv(),
3131
new IBCChannelPacketTimeout(),
3232
new IBCChannelUpgradeInitTryAck(),
33-
new IBCChannelUpgradeConfirmTimeoutCancel()
33+
new IBCChannelUpgradeConfirmOpenTimeoutCancel()
3434
);
3535
}
3636

0 commit comments

Comments
 (0)