2023-09-15 13:52:02 +00:00
|
|
|
|
//using KubernetesWorkflow;
|
|
|
|
|
//using NethereumWorkflow;
|
2023-09-15 10:36:35 +00:00
|
|
|
|
|
2023-09-15 13:52:02 +00:00
|
|
|
|
//namespace GethPlugin
|
|
|
|
|
//{
|
|
|
|
|
// public class GethCompanionNodeInfo
|
|
|
|
|
// {
|
|
|
|
|
// public GethCompanionNodeInfo(RunningContainer runningContainer, GethAccount[] accounts)
|
|
|
|
|
// {
|
|
|
|
|
// RunningContainer = runningContainer;
|
|
|
|
|
// Accounts = accounts;
|
|
|
|
|
// }
|
2023-09-15 10:36:35 +00:00
|
|
|
|
|
2023-09-15 13:52:02 +00:00
|
|
|
|
// public RunningContainer RunningContainer { get; }
|
|
|
|
|
// public GethAccount[] Accounts { get; }
|
2023-09-15 10:36:35 +00:00
|
|
|
|
|
2023-09-15 13:52:02 +00:00
|
|
|
|
// public NethereumInteraction StartInteraction(TestLifecycle lifecycle, GethAccount account)
|
|
|
|
|
// {
|
|
|
|
|
// var address = lifecycle.Configuration.GetAddress(RunningContainer);
|
|
|
|
|
// var privateKey = account.PrivateKey;
|
2023-09-15 10:36:35 +00:00
|
|
|
|
|
2023-09-15 13:52:02 +00:00
|
|
|
|
// var creator = new NethereumInteractionCreator(lifecycle.Log, address.Host, address.Port, privateKey);
|
|
|
|
|
// return creator.CreateWorkflow();
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
//}
|