Skip to main content
added 260 characters in body
Source Link

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here are the failed transactions

The job on the oracle shows that the incoming transaction was completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well. The oracle contract is 0x46cC5EbBe7DA04b45C0e40c061eD2beD20ca7755 and the source for this contract is here

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here are the failed transactions

The job on the oracle shows that the incoming transaction was completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well.

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here are the failed transactions

The job on the oracle shows that the incoming transaction was completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well. The oracle contract is 0x46cC5EbBe7DA04b45C0e40c061eD2beD20ca7755 and the source for this contract is here

deleted 1 character in body
Source Link

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here's an example transactionHere are the failed transactions

The job on the oracle shows that the incoming transaction was completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well.

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here's an example transaction

The job on the oracle shows that the incoming transaction completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well.

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here are the failed transactions

The job on the oracle shows that the incoming transaction was completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well.

Source Link

Why are my internal txns failing in my transaction?

I've deployed the chainlink alarm job to an oracle on bsc testnet. I'm attempting to transfer tokens from one address to another at a set time in my smart contract, and the transaction appears to be successful but the internal txns as failing.

Here's an example transaction

The job on the oracle shows that the incoming transaction completed successfully.

The contract function that calls to to the oracle:

    function requestAlarmClock(uint256 durationInSeconds) public returns (bytes32 requestId) 
{
    Chainlink.Request memory request = buildChainlinkRequest(_jobId, address(this), this.fulfillAlarm.selector);
    // This will return in 90 seconds
    request.addUint("until", block.timestamp + durationInSeconds);
    return sendChainlinkRequestTo(_oracle, request, oraclePayment);
}

 /**
 * Receive the response in the form of uint256
 */ 
function fulfillAlarm(bytes32 _requestId, uint256 _volume) public recordChainlinkFulfillment(_requestId)
{

    token.transferFrom(owner, _reciver, 2e18);
}

The contract is funded with LINK, as it's able to pay the oracle price. I'm not noticing any issues on the oracle side. The oracle contract is funded with LINK as well.